Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -174,12 +174,12 @@ description = '''<div align='left'>
|
|
| 174 |
'''
|
| 175 |
|
| 176 |
# 创建Gradio界面
|
| 177 |
-
inp = [gradio.
|
| 178 |
default="",
|
| 179 |
type='password'),
|
| 180 |
-
gradio.
|
| 181 |
default="https://api.openai.com/v1"),
|
| 182 |
-
gradio.
|
| 183 |
label="请输入特定的分析要求和格式(否则为默认格式)",
|
| 184 |
default="""* Overall Review
|
| 185 |
Please briefly summarize the main points and contributions of this paper.
|
|
@@ -205,8 +205,8 @@ 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.
|
| 209 |
-
gradio.
|
| 210 |
default="English",
|
| 211 |
label="选择输出语言"),
|
| 212 |
]
|
|
|
|
| 174 |
'''
|
| 175 |
|
| 176 |
# 创建Gradio界面
|
| 177 |
+
inp = [gradio.Textbox(label="请输入你的API-key(sk开头的字符串)",
|
| 178 |
default="",
|
| 179 |
type='password'),
|
| 180 |
+
gradio.Textbox(label="请输入第三方中转网址(以/v1结尾,使用原始OpenAI的API请跳过这里)",
|
| 181 |
default="https://api.openai.com/v1"),
|
| 182 |
+
gradio.Textbox(lines=5,
|
| 183 |
label="请输入特定的分析要求和格式(否则为默认格式)",
|
| 184 |
default="""* Overall Review
|
| 185 |
Please briefly summarize the main points and contributions of this paper.
|
|
|
|
| 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="bytes"),
|
| 209 |
+
gradio.Radio(choices=["English", "Chinese", "French", "German","Japenese"],
|
| 210 |
default="English",
|
| 211 |
label="选择输出语言"),
|
| 212 |
]
|