ShiwenNi commited on
Commit
741f19d
1 Parent(s): b5a8a7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,12 +30,12 @@ class Response:
30
  response_prompt_token = 1000
31
  text_token = len(self.encoding.encode(self.comment))
32
  input_text_index = int(len(self.comment)*(self.max_token_num-response_prompt_token)/text_token)
33
- input_text = "This is the review comments:" + text[:input_text_index]
34
  messages=[
35
  {"role": "system", "content": """You are the author, you submitted a paper, and the reviewers gave the review comments.
36
  Please reply with what we have done, not what we will do.
37
  You need to extract questions from the review comments one by one, and then respond point-to-point to the reviewers’ concerns.
38
- Please answer in {}. Follow the format of the output later:
39
  - Response to reviewers
40
  #1 reviewer
41
  Concern #1: xxxx
 
30
  response_prompt_token = 1000
31
  text_token = len(self.encoding.encode(self.comment))
32
  input_text_index = int(len(self.comment)*(self.max_token_num-response_prompt_token)/text_token)
33
+ input_text = "This is the review comments:" + self.comment[:input_text_index]
34
  messages=[
35
  {"role": "system", "content": """You are the author, you submitted a paper, and the reviewers gave the review comments.
36
  Please reply with what we have done, not what we will do.
37
  You need to extract questions from the review comments one by one, and then respond point-to-point to the reviewers’ concerns.
38
+ Must be output in {}. Follow the format of the output later:
39
  - Response to reviewers
40
  #1 reviewer
41
  Concern #1: xxxx