n00b001 commited on
Commit
9e00411
·
1 Parent(s): a17d990

Fix: Re-add login button to Gradio app

Browse files

The login button was inadvertently removed during previous linting fixes,
leading to authentication issues. This commit re-adds the `gr.LoginButton`
component to the Gradio interface and suppresses the F841 linting warning
as the variable is used for UI rendering.

Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -185,6 +185,9 @@ def build_gradio_app():
185
 
186
 
187
 
 
 
 
188
  gr.Markdown("### 1. Select a Model from the Hugging Face Hub")
189
  model_input = HuggingfaceHubSearch(
190
  label="Search for a Model",
 
185
 
186
 
187
 
188
+ with gr.Row():
189
+ login_button = gr.LoginButton(min_width=250) # noqa: F841
190
+
191
  gr.Markdown("### 1. Select a Model from the Hugging Face Hub")
192
  model_input = HuggingfaceHubSearch(
193
  label="Search for a Model",