fixing login button
Browse files
app.py
CHANGED
|
@@ -145,7 +145,7 @@ def gradio_interface() -> gr.Blocks:
|
|
| 145 |
print(f"User state: {user_state}")
|
| 146 |
|
| 147 |
login_button = gr.LoginButton()
|
| 148 |
-
login_button.click(get_user, inputs=
|
| 149 |
|
| 150 |
print(f"User state: {user_state}")
|
| 151 |
|
|
|
|
| 145 |
print(f"User state: {user_state}")
|
| 146 |
|
| 147 |
login_button = gr.LoginButton()
|
| 148 |
+
login_button.click(get_user, inputs=None, outputs=user_state)
|
| 149 |
|
| 150 |
print(f"User state: {user_state}")
|
| 151 |
|