Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -175,10 +175,10 @@ description = '''<div align='left'>
|
|
175 |
|
176 |
# 创建Gradio界面
|
177 |
inp = [gradio.Textbox(label="请输入你的API-key(sk开头的字符串)",
|
178 |
-
|
179 |
type='password'),
|
180 |
gradio.Textbox(label="请输入第三方中转网址(以/v1结尾,使用原始OpenAI的API请跳过这里)",
|
181 |
-
|
182 |
gradio.Textbox(lines=5,
|
183 |
label="请输入特定的分析要求和格式(否则为默认格式)",
|
184 |
default="""* Overall Review
|
@@ -207,7 +207,7 @@ xxx"""
|
|
207 |
),
|
208 |
gradio.File(label="请上传论文PDF文件(请务必等pdf上传完成后再点击Submit!)",type="bytes"),
|
209 |
gradio.Radio(choices=["English", "Chinese", "French", "German","Japenese"],
|
210 |
-
|
211 |
label="选择输出语言"),
|
212 |
]
|
213 |
|
|
|
175 |
|
176 |
# 创建Gradio界面
|
177 |
inp = [gradio.Textbox(label="请输入你的API-key(sk开头的字符串)",
|
178 |
+
value="",
|
179 |
type='password'),
|
180 |
gradio.Textbox(label="请输入第三方中转网址(以/v1结尾,使用原始OpenAI的API请跳过这里)",
|
181 |
+
value="https://api.openai.com/v1"),
|
182 |
gradio.Textbox(lines=5,
|
183 |
label="请输入特定的分析要求和格式(否则为默认格式)",
|
184 |
default="""* Overall Review
|
|
|
207 |
),
|
208 |
gradio.File(label="请上传论文PDF文件(请务必等pdf上传完成后再点击Submit!)",type="bytes"),
|
209 |
gradio.Radio(choices=["English", "Chinese", "French", "German","Japenese"],
|
210 |
+
value="English",
|
211 |
label="选择输出语言"),
|
212 |
]
|
213 |
|