Spaces:
Sleeping
Sleeping
Enable DEMO_MODE by default to bypass OAuth requirements
Browse files
app.py
CHANGED
|
@@ -25,7 +25,8 @@ from typing import Dict, Any, List, Optional, Tuple, Union
|
|
| 25 |
|
| 26 |
# Configuration constants
|
| 27 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 28 |
-
|
|
|
|
| 29 |
SIMPLE_UI = os.getenv("SIMPLE_UI", "").lower() in ("true", "1", "yes")
|
| 30 |
|
| 31 |
from src.gaia import GAIAAgent
|
|
|
|
| 25 |
|
| 26 |
# Configuration constants
|
| 27 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 28 |
+
# Set DEMO_MODE to True by default to bypass OAuth requirements
|
| 29 |
+
DEMO_MODE = os.getenv("DEMO_MODE", "true").lower() in ("true", "1", "yes")
|
| 30 |
SIMPLE_UI = os.getenv("SIMPLE_UI", "").lower() in ("true", "1", "yes")
|
| 31 |
|
| 32 |
from src.gaia import GAIAAgent
|