ShiwenNi commited on
Commit
5ee2c15
1 Parent(s): caad61f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ class Reviewer:
61
  print("total_token_used:", response.usage.total_tokens)
62
  print("response_time:", response.response_ms/1000.0, 's')
63
  output_text = insert_sentence(result, '(Generated by ChatGPT, no copying allowed!)', 10)
64
- return result, response.usage.total_tokens
65
 
66
  def insert_sentence(text, sentence, interval):
67
  words = text.split()
 
61
  print("total_token_used:", response.usage.total_tokens)
62
  print("response_time:", response.response_ms/1000.0, 's')
63
  output_text = insert_sentence(result, '(Generated by ChatGPT, no copying allowed!)', 10)
64
+ return output_text, response.usage.total_tokens
65
 
66
  def insert_sentence(text, sentence, interval):
67
  words = text.split()