PSNbst commited on
Commit
63c2525
·
verified ·
1 Parent(s): fb13f87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -241,7 +241,7 @@ def gradio_interface():
241
  dtr_enabled = gr.Checkbox(label="Enable DTR (如不可用请勿勾选)")
242
 
243
  # 上传文件部分
244
- with gr.Group(variant="box"):
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(variant="box"):
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)