binary-husky commited on
Commit
b42f2f7
1 Parent(s): 3bb4b4c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -112,7 +112,7 @@ def main():
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):
118
  ret = {}
@@ -189,4 +189,4 @@ def main():
189
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION, favicon_path="docs/logo.png")
190
 
191
  if __name__ == "__main__":
192
- main()
 
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); clearBtn2.style(size="sm")
116
  # 功能区显示开关与功能区的互动
117
  def fn_area_visibility(a):
118
  ret = {}
 
189
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION, favicon_path="docs/logo.png")
190
 
191
  if __name__ == "__main__":
192
+ main()