Spaces:
Running
Running
shaocongma
commited on
Commit
·
6387164
1
Parent(s):
64fee17
bug fix.
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
143 |
interactive=False,
|
144 |
info="生成论文的参考模板. (暂不支持修改)")
|
145 |
model_selection = gr.Dropdown(label="Model", choices=["gpt-4", "gpt-3.5-turbo"],
|
146 |
-
value="gpt-
|
147 |
interactive=True,
|
148 |
info="生成论文用到的语言模型.")
|
149 |
gr.Markdown('''
|
@@ -169,7 +169,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
169 |
"conclusion", "abstract"],
|
170 |
type="value", label="生成章节", interactive=True,
|
171 |
value=["introduction", "related works"])
|
172 |
-
slider = gr.Slider(minimum=1, maximum=100, value=
|
173 |
interactive=True, label="最大参考文献数目")
|
174 |
|
175 |
with gr.Row():
|
|
|
143 |
interactive=False,
|
144 |
info="生成论文的参考模板. (暂不支持修改)")
|
145 |
model_selection = gr.Dropdown(label="Model", choices=["gpt-4", "gpt-3.5-turbo"],
|
146 |
+
value="gpt-3.5-turbo",
|
147 |
interactive=True,
|
148 |
info="生成论文用到的语言模型.")
|
149 |
gr.Markdown('''
|
|
|
169 |
"conclusion", "abstract"],
|
170 |
type="value", label="生成章节", interactive=True,
|
171 |
value=["introduction", "related works"])
|
172 |
+
slider = gr.Slider(minimum=1, maximum=100, value=20, step=1,
|
173 |
interactive=True, label="最大参考文献数目")
|
174 |
|
175 |
with gr.Row():
|