ShiwenNi commited on
Commit
4d9539a
1 Parent(s): 27205a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -140,8 +140,8 @@ def main(api, review_format, paper_pdf, language):
140
  reviewer1 = Reviewer(api, review_format, paper_pdf, language)
141
  # 开始判断是路径还是文件:
142
  comments, total_token_used = reviewer1.review_by_chatgpt(paper_list=paper_pdf)
143
- time_used = time.time() - start_time
144
- output2 ="使用token数:"+ str(total_token_used)+"\n花费时间:"+ str(round(time_used, 2)) +"秒"
145
  return comments, output2
146
 
147
 
 
140
  reviewer1 = Reviewer(api, review_format, paper_pdf, language)
141
  # 开始判断是路径还是文件:
142
  comments, total_token_used = reviewer1.review_by_chatgpt(paper_list=paper_pdf)
143
+ time_used = time.time() - start_time
144
+ output2 ="使用token数:"+ str(total_token_used)+"\n花费时间:"+ str(round(time_used, 2)) +"秒"
145
  return comments, output2
146
 
147