Spaces:
Runtime error
Runtime error
Update user_center.py
Browse files- 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,
|
118 |
)
|
119 |
login_button1.click(
|
120 |
fn=read_ui,
|
121 |
-
inputs=[
|
122 |
-
outputs=
|
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,
|