Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ class Reviewer:
|
|
60 |
print("completion_token_used:", response.usage.completion_tokens)
|
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, '(
|
64 |
return result, response.usage.total_tokens
|
65 |
|
66 |
def insert_sentence(text, sentence, interval):
|
|
|
60 |
print("completion_token_used:", response.usage.completion_tokens)
|
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):
|