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

Fix metadata and disable demo mode by default

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +2 -2
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: GAIA Integrated Agent
3
  emoji: 🤖
4
  colorFrom: blue
5
  colorTo: green
 
1
  ---
2
+ title: Final_Assignment_GAIAAgent
3
  emoji: 🤖
4
  colorFrom: blue
5
  colorTo: green
app.py CHANGED
@@ -25,8 +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
- # 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
 
25
 
26
  # Configuration constants
27
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
28
+ # Use environment variable for DEMO_MODE or disable by default
29
+ DEMO_MODE = os.getenv("DEMO_MODE", "").lower() in ("true", "1", "yes")
30
  SIMPLE_UI = os.getenv("SIMPLE_UI", "").lower() in ("true", "1", "yes")
31
 
32
  from src.gaia import GAIAAgent