Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ class Reviewer:
|
|
87 |
result = ''
|
88 |
for choice in response.choices:
|
89 |
result += choice.message.content
|
90 |
-
result = insert_sentence(result, '**Generated by ChatGPT, no copying allowed!**',
|
91 |
result += "\n\n⚠伦理声明/Ethics statement:\n--禁止直接复制生成的评论用于任何论文审稿工作!\n--Direct copying of generated comments for any paper review work is prohibited!"
|
92 |
print("********"*10)
|
93 |
print(result)
|
|
|
87 |
result = ''
|
88 |
for choice in response.choices:
|
89 |
result += choice.message.content
|
90 |
+
result = insert_sentence(result, '**Generated by ChatGPT, no copying allowed!**', 800)
|
91 |
result += "\n\n⚠伦理声明/Ethics statement:\n--禁止直接复制生成的评论用于任何论文审稿工作!\n--Direct copying of generated comments for any paper review work is prohibited!"
|
92 |
print("********"*10)
|
93 |
print(result)
|