Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from agent import BasicAgent
|
|
| 8 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 9 |
|
| 10 |
def run_and_submit_all(profile: gr.OAuthProfile | None):
|
| 11 |
-
space_id = os.getenv("
|
| 12 |
if profile:
|
| 13 |
username= f"{profile.username}"
|
| 14 |
print(f"User logged in: {username}")
|
|
|
|
| 8 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 9 |
|
| 10 |
def run_and_submit_all(profile: gr.OAuthProfile | None):
|
| 11 |
+
space_id = os.getenv("SPACE_ID")
|
| 12 |
if profile:
|
| 13 |
username= f"{profile.username}"
|
| 14 |
print(f"User logged in: {username}")
|