Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ class GaiaAgent:
|
|
| 18 |
def run_and_submit_all(profile):
|
| 19 |
try:
|
| 20 |
space_id = os.getenv("SPACE_ID")
|
| 21 |
-
username = profile
|
| 22 |
if not username:
|
| 23 |
return "❌ Please log in to Hugging Face.", None
|
| 24 |
|
|
|
|
| 18 |
def run_and_submit_all(profile):
|
| 19 |
try:
|
| 20 |
space_id = os.getenv("SPACE_ID")
|
| 21 |
+
username = profile if profile else None
|
| 22 |
if not username:
|
| 23 |
return "❌ Please log in to Hugging Face.", None
|
| 24 |
|