Liusuthu commited on
Commit
e42e6a5
1 Parent(s): bfc2057

Update consult.py

Browse files
Files changed (1) hide show
  1. consult.py +11 -11
consult.py CHANGED
@@ -291,17 +291,17 @@ with gr.Blocks() as consult:
291
  save_button=gr.Button("保存本次测试数据",visible=False)
292
 
293
  with gr.Column(visible=False) as save:
294
- with gr.Row():
295
- gr.HTML("<h3 style='text-align:center;'>输入账号密码保存本次检测数据</h3>")
296
- with gr.Row():
297
- with gr.Column(scale=1):
298
- input_name = gr.Textbox(label="用户名",interactive=True)
299
- input_pwd = gr.Textbox(label="密码",interactive=True)
300
- with gr.Row():
301
- clear_button = gr.Button("清除")
302
- submit_button = gr.Button("提交保存")
303
- with gr.Column(scale=1):
304
- output_info = gr.Textbox(label="输出", lines=5,interactive=False)
305
 
306
 
307
  btn1.click(visibility, outputs=questions)
 
291
  save_button=gr.Button("保存本次测试数据",visible=False)
292
 
293
  with gr.Column(visible=False) as save:
294
+ with gr.Row():
295
+ gr.HTML("<h3 style='text-align:center;'>输入账号密码保存本次检测数据</h3>")
296
+ with gr.Row():
297
+ with gr.Column(scale=1):
298
+ input_name = gr.Textbox(label="用户名",interactive=True)
299
+ input_pwd = gr.Textbox(label="密码",interactive=True)
300
+ with gr.Row():
301
+ clear_button = gr.Button("清除")
302
+ submit_button = gr.Button("提交保存")
303
+ with gr.Column(scale=1):
304
+ output_info = gr.Textbox(label="输出", lines=5,interactive=False)
305
 
306
 
307
  btn1.click(visibility, outputs=questions)