yoshizen commited on
Commit
8531773
·
verified ·
1 Parent(s): eec6357

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -698,15 +698,11 @@ def create_interface():
698
 
699
  with gr.Row():
700
  with gr.Column():
701
- # Fixed OAuthProfile initialization - removed problematic parameters
702
  hf_user = gr.OAuthProfile(
703
  "https://huggingface.co/oauth",
704
  "read",
705
- variant="button",
706
- visible=True,
707
  label="Sign in with Hugging Face",
708
- value=None,
709
- interactive=True,
710
  )
711
 
712
  with gr.Row():
 
698
 
699
  with gr.Row():
700
  with gr.Column():
701
+ # Simplified OAuthProfile initialization with minimal parameters
702
  hf_user = gr.OAuthProfile(
703
  "https://huggingface.co/oauth",
704
  "read",
 
 
705
  label="Sign in with Hugging Face",
 
 
706
  )
707
 
708
  with gr.Row():