ShiwenNi commited on
Commit
4a9fb3e
1 Parent(s): 2192e16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ class Reviewer:
77
  input_text = "This is the paper for your review:" + text[:input_text_index]
78
  messages=[
79
  {"role": "system", "content": "You are a professional reviewer. Now I will give you a paper. You need to give a complete review opinion according to the following requirements and format:"+ self.review_format},
80
- {"role": "user", "content": input_text + " The output language must be {}.".format(self.language)},
81
  ]
82
 
83
  response = openai.ChatCompletion.create(
 
77
  input_text = "This is the paper for your review:" + text[:input_text_index]
78
  messages=[
79
  {"role": "system", "content": "You are a professional reviewer. Now I will give you a paper. You need to give a complete review opinion according to the following requirements and format:"+ self.review_format},
80
+ {"role": "user", "content": input_text + " Translate the output into {}.".format(self.language)},
81
  ]
82
 
83
  response = openai.ChatCompletion.create(