jm-vis commited on
Commit
ebc6238
·
1 Parent(s): d6fad5d

Enable DEMO_MODE by default to bypass OAuth requirements

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- DEMO_MODE = os.getenv("DEMO_MODE", "").lower() in ("true", "1", "yes")
 
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