Spaces:
Running
Running
Fix syntax error in app.py - correct else statement indentation
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None = None):
|
|
| 40 |
if profile:
|
| 41 |
username = f"{profile.username}"
|
| 42 |
print(f"User logged in: {username}")
|
| 43 |
-
|
| 44 |
print("User not logged in, using anonymous.")
|
| 45 |
username = "anonymous"
|
| 46 |
|
|
|
|
| 40 |
if profile:
|
| 41 |
username = f"{profile.username}"
|
| 42 |
print(f"User logged in: {username}")
|
| 43 |
+
else:
|
| 44 |
print("User not logged in, using anonymous.")
|
| 45 |
username = "anonymous"
|
| 46 |
|