Liusuthu commited on
Commit
c04ea23
·
verified ·
1 Parent(s): 66bda0b

Update user_center.py

Browse files
Files changed (1) hide show
  1. user_center.py +3 -3
user_center.py CHANGED
@@ -114,12 +114,12 @@ with gr.Blocks() as user_center:
114
  clear_button1.click(
115
  fn=clear_info,
116
  inputs=[],
117
- outputs=[input_name1, input_pwd1, output_info],
118
  )
119
  login_button1.click(
120
  fn=read_ui,
121
- inputs=[input_name, input_pwd],
122
- outputs=output_info,
123
  )
124
  clear_button2.click(
125
  fn=clear_info,
 
114
  clear_button1.click(
115
  fn=clear_info,
116
  inputs=[],
117
+ outputs=[input_name1, input_pwd1, output_info1],
118
  )
119
  login_button1.click(
120
  fn=read_ui,
121
+ inputs=[input_name1, input_pwd1],
122
+ outputs=output_info1,
123
  )
124
  clear_button2.click(
125
  fn=clear_info,