Bugfix interactive button
Browse files- play_helper.py +1 -1
play_helper.py
CHANGED
|
@@ -79,7 +79,7 @@ def declare_components(demo, greet, use_login_button=False):
|
|
| 79 |
).then(
|
| 80 |
lambda uid: ([gr.update(visible=True, interactive=True)] if uid else
|
| 81 |
[gr.update(visible=True, interactive=False)]) * 4,
|
| 82 |
-
[uid_state], [level_radio, game_radio, new_game_btn,
|
| 83 |
)
|
| 84 |
|
| 85 |
return (
|
|
|
|
| 79 |
).then(
|
| 80 |
lambda uid: ([gr.update(visible=True, interactive=True)] if uid else
|
| 81 |
[gr.update(visible=True, interactive=False)]) * 4,
|
| 82 |
+
[uid_state], [level_radio, game_radio, new_game_btn, reset_sid_btn]
|
| 83 |
)
|
| 84 |
|
| 85 |
return (
|