Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ class BasicAgent:
|
|
| 74 |
# --- Determine HF Space Runtime URL and Repo URL ---
|
| 75 |
space_id = os.getenv("SPACE_ID") # Get the SPACE_ID for sending link to the code
|
| 76 |
|
| 77 |
-
|
| 78 |
username= f"{profile.username}"
|
| 79 |
print(f"User logged in: {username}")
|
| 80 |
else:
|
|
|
|
| 74 |
# --- Determine HF Space Runtime URL and Repo URL ---
|
| 75 |
space_id = os.getenv("SPACE_ID") # Get the SPACE_ID for sending link to the code
|
| 76 |
|
| 77 |
+
if profile:
|
| 78 |
username= f"{profile.username}"
|
| 79 |
print(f"User logged in: {username}")
|
| 80 |
else:
|