Tom Aarsen commited on
Commit
65e6c4b
·
1 Parent(s): fb9117f

Try to set .activate() on the LoginButton myself

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -632,7 +632,8 @@ with gr.Blocks(
632
  css=css,
633
  theme=gr.themes.Base(),
634
  ) as demo:
635
- gr.LoginButton(min_width=250)
 
636
 
637
  with gr.Row():
638
  # Left Input Column
 
632
  css=css,
633
  theme=gr.themes.Base(),
634
  ) as demo:
635
+ login = gr.LoginButton(min_width=250)
636
+ login.activate()
637
 
638
  with gr.Row():
639
  # Left Input Column