Spaces:
Runtime error
Runtime error
Commit
·
d170bd3
1
Parent(s):
d5357c2
Update with h2oGPT hash 481013bde29c3ab903153695212ac131593a42c6
Browse files- gradio_runner.py +2 -2
gradio_runner.py
CHANGED
|
@@ -375,8 +375,8 @@ def go_gradio(**kwargs):
|
|
| 375 |
def close_admin(x):
|
| 376 |
return gr.update(visible=not (x == admin_pass))
|
| 377 |
|
| 378 |
-
admin_btn.click(check_admin_pass, inputs=admin_pass_textbox, outputs=system_row) \
|
| 379 |
-
.then(close_admin, inputs=admin_pass_textbox, outputs=admin_row)
|
| 380 |
|
| 381 |
# Get inputs to evaluate()
|
| 382 |
all_kwargs = kwargs.copy()
|
|
|
|
| 375 |
def close_admin(x):
|
| 376 |
return gr.update(visible=not (x == admin_pass))
|
| 377 |
|
| 378 |
+
admin_btn.click(check_admin_pass, inputs=admin_pass_textbox, outputs=system_row, queue=False) \
|
| 379 |
+
.then(close_admin, inputs=admin_pass_textbox, outputs=admin_row, queue=False)
|
| 380 |
|
| 381 |
# Get inputs to evaluate()
|
| 382 |
all_kwargs = kwargs.copy()
|