Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,8 +69,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 69 |
"""
|
| 70 |
|
| 71 |
if profile:
|
| 72 |
-
|
| 73 |
-
username= f"{profile.name}"
|
| 74 |
|
| 75 |
else:
|
| 76 |
return "Please Login to Hugging Face with the button.", None
|
|
|
|
| 69 |
"""
|
| 70 |
|
| 71 |
if profile:
|
| 72 |
+
username= f"{profile.username}"
|
|
|
|
| 73 |
|
| 74 |
else:
|
| 75 |
return "Please Login to Hugging Face with the button.", None
|