Spaces:
Running
Running
Commit
·
a44e592
1
Parent(s):
9b95875
In
Browse files
app.py
CHANGED
@@ -303,7 +303,7 @@ with gr.Blocks(theme=gr.themes.Soft(), fill_height=True) as demo:
|
|
303 |
auth_button.click(
|
304 |
fn=handle_auth,
|
305 |
inputs=[hf_token],
|
306 |
-
outputs=[auth_status,
|
307 |
queue=True # Run in queue for potentially long operation
|
308 |
)
|
309 |
|
|
|
303 |
auth_button.click(
|
304 |
fn=handle_auth,
|
305 |
inputs=[hf_token],
|
306 |
+
outputs=[auth_status, gr.get_component("main_tabs")], # Update status and hide/show main_tabs by element id
|
307 |
queue=True # Run in queue for potentially long operation
|
308 |
)
|
309 |
|