ShiwenNi commited on
Commit
bace942
1 Parent(s): 4db507d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ class Reviewer:
95
  input_text_index = int(len(text)*(self.max_token_num-review_prompt_token)/text_token)
96
  input_text = "This is the paper for your review:" + text[:input_text_index]
97
  messages=[
98
- {"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 +" Please answer in {}.".format(self.language)},
99
  {"role": "user", "content": input_text},
100
  ]
101
 
 
95
  input_text_index = int(len(text)*(self.max_token_num-review_prompt_token)/text_token)
96
  input_text = "This is the paper for your review:" + text[:input_text_index]
97
  messages=[
98
+ {"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 +" Must be output in {}.".format(self.language)},
99
  {"role": "user", "content": input_text},
100
  ]
101