adeem6 commited on
Commit
853d482
Β·
verified Β·
1 Parent(s): 86c514c

Update backend/config.py

Browse files
Files changed (1) hide show
  1. backend/config.py +6 -1
backend/config.py CHANGED
@@ -1,8 +1,13 @@
1
 
 
 
 
 
2
  # ── Paths ─────────────────────────────────────────────────────────────
3
  VIDEO_PATH = 'hajj_multi_video_annotated.mp4'
4
  DB_PATH = 'outputs/hajjflow_rt.db'
5
- MODEL_PATH = 'yolo11l.pt' # swap to 'yolov8x.pt' for better detection
 
6
 
7
  # ── Cached Detection Mode ────────────────────────────────────────────
8
  # When set, PerceptionAgent reads pre-computed detections from JSON
 
1
 
2
+ import os
3
+
4
+ GROQ_API_KEY = os.environ.get("GROQ_API_KEY", "")
5
+
6
  # ── Paths ─────────────────────────────────────────────────────────────
7
  VIDEO_PATH = 'hajj_multi_video_annotated.mp4'
8
  DB_PATH = 'outputs/hajjflow_rt.db'
9
+ MODEL_PATH = 'crowdhuman_yolov8m_head.pt'
10
+ YOLO_CONFIG_DIR = '/tmp/Ultralytics'
11
 
12
  # ── Cached Detection Mode ────────────────────────────────────────────
13
  # When set, PerceptionAgent reads pre-computed detections from JSON