Spaces:
Paused
Paused
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -140,7 +140,7 @@ def _signin_state(profile: gr.OAuthProfile | None):
|
|
| 140 |
if profile is None:
|
| 141 |
return ("", gr.update(elem_classes=["locked"]), gr.update())
|
| 142 |
return (
|
| 143 |
-
|
| 144 |
gr.update(elem_classes=[]),
|
| 145 |
gr.update(info=f"Becomes your model repo `{profile.username}/<name>` (+ a dataset repo). "
|
| 146 |
"Spaces and symbols are turned into dashes automatically."),
|
|
|
|
| 140 |
if profile is None:
|
| 141 |
return ("", gr.update(elem_classes=["locked"]), gr.update())
|
| 142 |
return (
|
| 143 |
+
"",
|
| 144 |
gr.update(elem_classes=[]),
|
| 145 |
gr.update(info=f"Becomes your model repo `{profile.username}/<name>` (+ a dataset repo). "
|
| 146 |
"Spaces and symbols are turned into dashes automatically."),
|