abidlabs HF Staff commited on
Commit
9426e6c
Β·
verified Β·
1 Parent(s): 95ce8b1

Update ui_components.py

Browse files
Files changed (1) hide show
  1. ui_components.py +3 -2
ui_components.py CHANGED
@@ -107,11 +107,12 @@ class UIComponents:
107
  """Create HuggingFace OAuth login section"""
108
  with gr.Group(elem_classes="login-section"):
109
  gr.Markdown("## πŸ”‘ Authentication", container=True)
 
110
  self.login_button = gr.LoginButton(
111
  value="Sign in with Hugging Face",
112
- size="sm"
 
113
  )
114
- self.login_status = gr.Markdown("βšͺ Please sign in to access Inference Providers", container=True)
115
 
116
  def _create_provider_model_selection(self):
117
  """Create provider and model selection dropdowns with defaults"""
 
107
  """Create HuggingFace OAuth login section"""
108
  with gr.Group(elem_classes="login-section"):
109
  gr.Markdown("## πŸ”‘ Authentication", container=True)
110
+ self.login_status = gr.Markdown("βšͺ Please sign in to access Inference Providers", container=True)
111
  self.login_button = gr.LoginButton(
112
  value="Sign in with Hugging Face",
113
+ size="sm",
114
+ redirect_url="https://gradio-chat-gradio-app-hfips.hf.space/"
115
  )
 
116
 
117
  def _create_provider_model_selection(self):
118
  """Create provider and model selection dropdowns with defaults"""