Update app.py
Browse files
app.py
CHANGED
@@ -698,15 +698,11 @@ def create_interface():
|
|
698 |
|
699 |
with gr.Row():
|
700 |
with gr.Column():
|
701 |
-
#
|
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():
|