vibesecurityguy commited on
Commit
fb3cd3b
·
verified ·
1 Parent(s): 5b85288

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -574,7 +574,12 @@ def build_app() -> gr.Blocks:
574
  "**Required:** Click Sign in with Hugging Face below so ZeroGPU usage "
575
  "counts against your account quota."
576
  )
577
- gr.LoginButton("Sign in with Hugging Face")
 
 
 
 
 
578
  else:
579
  gr.HTML("""
580
  <div class="model-banner">
 
574
  "**Required:** Click Sign in with Hugging Face below so ZeroGPU usage "
575
  "counts against your account quota."
576
  )
577
+ gr.HTML(
578
+ '<a href="/login/huggingface" target="_self" '
579
+ 'style="display:inline-block;padding:10px 14px;border-radius:8px;'
580
+ 'background:#2563eb;color:#fff;text-decoration:none;font-weight:600;">'
581
+ "Sign in with Hugging Face</a>"
582
+ )
583
  else:
584
  gr.HTML("""
585
  <div class="model-banner">