hsuwill000 commited on
Commit
a9a7c72
·
verified ·
1 Parent(s): 75d3a03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(