Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=True)
|
|
| 17 |
|
| 18 |
def respond(prompt, history):
|
| 19 |
messages = [
|
| 20 |
-
{"role": "system", "content": "
|
| 21 |
{"role": "user", "content": prompt}
|
| 22 |
]
|
| 23 |
text = tokenizer.apply_chat_template(
|
|
|
|
| 17 |
|
| 18 |
def respond(prompt, history):
|
| 19 |
messages = [
|
| 20 |
+
{"role": "system", "content": "Answer the question in English only."},
|
| 21 |
{"role": "user", "content": prompt}
|
| 22 |
]
|
| 23 |
text = tokenizer.apply_chat_template(
|