olegshulyakov commited on
Commit
d48bb47
·
verified ·
1 Parent(s): 63bdf0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -187,7 +187,10 @@ iface = gr.Interface(
187
  # Create Gradio interface
188
  with gr.Blocks(css=css) as demo:
189
  gr.Markdown("You must be logged in to use MLX-my-repo.")
190
- gr.LoginButton(min_width=250)
 
 
 
191
 
192
  iface.render()
193
 
 
187
  # Create Gradio interface
188
  with gr.Blocks(css=css) as demo:
189
  gr.Markdown("You must be logged in to use MLX-my-repo.")
190
+
191
+ loginButton = gr.LoginButton(variant="huggingface", min_width=250)
192
+
193
+ loginButton.activate()
194
 
195
  iface.render()
196