Spaces:
Runtime error
Runtime error
修复界面的小小BUG
Browse files
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");
|
114 |
-
stopBtn2 = gr.Button("停止", variant="secondary");
|
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):
|