qingxu99 commited on
Commit
f6483c9
1 Parent(s): 4120b05

修复界面的小小BUG

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -110,8 +110,8 @@ def main():
110
  with gr.Row():
111
  submitBtn2 = gr.Button("提交", variant="primary")
112
  with gr.Row():
113
- resetBtn2 = gr.Button("重置", variant="secondary"); resetBtn.style(size="sm")
114
- stopBtn2 = gr.Button("停止", variant="secondary"); stopBtn.style(size="sm")
115
  clearBtn2 = gr.Button("清除", variant="secondary", visible=False); clearBtn.style(size="sm")
116
  # 功能区显示开关与功能区的互动
117
  def fn_area_visibility(a):
 
110
  with gr.Row():
111
  submitBtn2 = gr.Button("提交", variant="primary")
112
  with gr.Row():
113
+ resetBtn2 = gr.Button("重置", variant="secondary"); resetBtn2.style(size="sm")
114
+ stopBtn2 = gr.Button("停止", variant="secondary"); stopBtn2.style(size="sm")
115
  clearBtn2 = gr.Button("清除", variant="secondary", visible=False); clearBtn.style(size="sm")
116
  # 功能区显示开关与功能区的互动
117
  def fn_area_visibility(a):