Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -135,7 +135,8 @@ def main(api, review_format, paper_pdf, language):
|
|
135 |
comments = ''
|
136 |
output2 = ''
|
137 |
if not api or not review_format or not paper_pdf:
|
138 |
-
comments
|
|
|
139 |
# 判断PDF文件
|
140 |
else:
|
141 |
# 创建一个Reader对象
|
|
|
135 |
comments = ''
|
136 |
output2 = ''
|
137 |
if not api or not review_format or not paper_pdf:
|
138 |
+
comments = "⚠:API-key或审稿要求或论文pdf未输入!请检测!"
|
139 |
+
output2 = "⚠:API-key或审稿要求或论文pdf未输入!请检测!"
|
140 |
# 判断PDF文件
|
141 |
else:
|
142 |
# 创建一个Reader对象
|