Spaces:
Runtime error
Runtime error
wangrongsheng
commited on
Commit
·
7577bba
1
Parent(s):
0551f48
Update app.py
Browse files
app.py
CHANGED
@@ -50,16 +50,16 @@ description = '''<div align='left'>
|
|
50 |
'''
|
51 |
|
52 |
input_c = [
|
53 |
-
|
54 |
default="",
|
55 |
type='password'),
|
56 |
-
|
57 |
default="单个生成",
|
58 |
label="题目生成(默认单个生成)"),
|
59 |
-
|
60 |
label="输入论文标题(如果为批量则每行一个标题)",
|
61 |
default="Transfer learning based plant diseases detection using ResNet50"),
|
62 |
-
|
63 |
choices=["AMA", "MLA", "APA", "GB/T 7714", "bib"],
|
64 |
label="转化的格式(默认bib)",
|
65 |
default="APA"),
|
|
|
50 |
'''
|
51 |
|
52 |
input_c = [
|
53 |
+
gr.inputs.Textbox(label="输入OpenAI的API-key",
|
54 |
default="",
|
55 |
type='password'),
|
56 |
+
gr.inputs.Radio(choices=["单个生成", "批量生成"],
|
57 |
default="单个生成",
|
58 |
label="题目生成(默认单个生成)"),
|
59 |
+
gr.inputs.Textbox(
|
60 |
label="输入论文标题(如果为批量则每行一个标题)",
|
61 |
default="Transfer learning based plant diseases detection using ResNet50"),
|
62 |
+
gr.inputs.Dropdown(
|
63 |
choices=["AMA", "MLA", "APA", "GB/T 7714", "bib"],
|
64 |
label="转化的格式(默认bib)",
|
65 |
default="APA"),
|