akashmadisetty commited on
Commit
a44e592
·
1 Parent(s): 9b95875
Files changed (1) hide show
  1. app.py +1 -1
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, tabs], # Update status and hide/show tabs
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