Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ class BasicAgent:
|
|
79 |
print(f"User logged in: {username}")
|
80 |
else:
|
81 |
print("User not logged in.")
|
82 |
-
|
83 |
|
84 |
api_url = DEFAULT_API_URL
|
85 |
questions_url = f"{api_url}/questions"
|
|
|
79 |
print(f"User logged in: {username}")
|
80 |
else:
|
81 |
print("User not logged in.")
|
82 |
+
return "Please Login to Hugging Face with the button.", None
|
83 |
|
84 |
api_url = DEFAULT_API_URL
|
85 |
questions_url = f"{api_url}/questions"
|