Shami96 commited on
Commit
f4b5761
·
verified ·
1 Parent(s): fff0699

Create config.py

Browse files
Files changed (1) hide show
  1. config.py +19 -0
config.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+
4
+ ### `config.py`
5
+ ```python
6
+ from pathlib import Path
7
+ import os
8
+
9
+ # IO
10
+ OUT_ROOT = Path("out")
11
+ FRAMES_SUBDIR = "frames"
12
+
13
+ # Defaults (can be overridden in UI/CLI)
14
+ FRAME_INTERVAL_SEC = float(os.getenv("FRAME_INTERVAL_SEC", "2.0"))
15
+ MAX_FRAMES = int(os.getenv("MAX_FRAMES", "150"))
16
+
17
+ # Models (override via env if desired)
18
+ ASR_MODEL = os.getenv("ASR_MODEL", "distil-whisper/distil-large-v3")
19
+ VISION_MODEL = os.getenv("VISION_MODEL", "Salesforce/blip-image-captioning-base")