Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ import json
|
|
| 12 |
import tiktoken
|
| 13 |
import PyPDF2
|
| 14 |
import gradio
|
| 15 |
-
|
| 16 |
|
| 17 |
def contains_chinese(text):
|
| 18 |
for ch in text:
|
|
@@ -205,7 +205,7 @@ The questions should be formulated in a manner that, after the authors have answ
|
|
| 205 |
The paper is scored on a scale of 1-10, with 10 being the full mark, and 6 stands for borderline accept. Then give the reason for your rating.
|
| 206 |
xxx"""
|
| 207 |
),
|
| 208 |
-
gradio.File(label="请上传论文PDF文件(请务必等pdf上传完成后再点击Submit!)",type="
|
| 209 |
gradio.Radio(choices=["English", "Chinese", "French", "German","Japenese"],
|
| 210 |
value="English",
|
| 211 |
label="选择输出语言"),
|
|
|
|
| 12 |
import tiktoken
|
| 13 |
import PyPDF2
|
| 14 |
import gradio
|
| 15 |
+
|
| 16 |
|
| 17 |
def contains_chinese(text):
|
| 18 |
for ch in text:
|
|
|
|
| 205 |
The paper is scored on a scale of 1-10, with 10 being the full mark, and 6 stands for borderline accept. Then give the reason for your rating.
|
| 206 |
xxx"""
|
| 207 |
),
|
| 208 |
+
gradio.File(label="请上传论文PDF文件(请务必等pdf上传完成后再点击Submit!)",type="binary"),
|
| 209 |
gradio.Radio(choices=["English", "Chinese", "French", "German","Japenese"],
|
| 210 |
value="English",
|
| 211 |
label="选择输出语言"),
|