Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -241,7 +241,7 @@ def gradio_interface():
|
|
| 241 |
dtr_enabled = gr.Checkbox(label="Enable DTR (如不可用请勿勾选)")
|
| 242 |
|
| 243 |
# 上传文件部分
|
| 244 |
-
with gr.Group(
|
| 245 |
gr.Markdown("**上传文件 (可选):**")
|
| 246 |
action_file = gr.File(label="Action File", file_types=[".txt"])
|
| 247 |
style_file = gr.File(label="Style File", file_types=[".txt"])
|
|
@@ -265,7 +265,7 @@ def gradio_interface():
|
|
| 265 |
)
|
| 266 |
|
| 267 |
# 各种数量
|
| 268 |
-
with gr.Group(
|
| 269 |
gr.Markdown("**随机数量设置:**")
|
| 270 |
expression_count = gr.Slider(label="Number of Expressions", minimum=0, maximum=10, step=1, value=1)
|
| 271 |
item_count = gr.Slider(label="Number of Items", minimum=0, maximum=10, step=1, value=1)
|
|
|
|
| 241 |
dtr_enabled = gr.Checkbox(label="Enable DTR (如不可用请勿勾选)")
|
| 242 |
|
| 243 |
# 上传文件部分
|
| 244 |
+
with gr.Group():
|
| 245 |
gr.Markdown("**上传文件 (可选):**")
|
| 246 |
action_file = gr.File(label="Action File", file_types=[".txt"])
|
| 247 |
style_file = gr.File(label="Style File", file_types=[".txt"])
|
|
|
|
| 265 |
)
|
| 266 |
|
| 267 |
# 各种数量
|
| 268 |
+
with gr.Group():
|
| 269 |
gr.Markdown("**随机数量设置:**")
|
| 270 |
expression_count = gr.Slider(label="Number of Expressions", minimum=0, maximum=10, step=1, value=1)
|
| 271 |
item_count = gr.Slider(label="Number of Items", minimum=0, maximum=10, step=1, value=1)
|