Update config/app_config.py
Browse files- config/app_config.py +6 -7
config/app_config.py
CHANGED
|
@@ -53,13 +53,12 @@ class ProcessingConfig:
|
|
| 53 |
confidence_threshold: float = float(os.getenv('CONFIDENCE_THRESHOLD', '0.85'))
|
| 54 |
|
| 55 |
# Output settings
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
|
| 64 |
# Cache settings
|
| 65 |
model_cache_dir: str = os.getenv('MODEL_CACHE_DIR', 'models/cache')
|
|
|
|
| 53 |
confidence_threshold: float = float(os.getenv('CONFIDENCE_THRESHOLD', '0.85'))
|
| 54 |
|
| 55 |
# Output settings
|
| 56 |
+
output_dir: str = os.getenv('OUTPUT_DIR', 'outputs')
|
| 57 |
+
output_format: str = os.getenv('OUTPUT_FORMAT', 'mp4')
|
| 58 |
+
output_quality: str = os.getenv('OUTPUT_QUALITY', 'high') # low, medium, high
|
| 59 |
+
output_codec: str = os.getenv('OUTPUT_CODEC', 'h264')
|
| 60 |
+
write_fps: Optional[float] = None
|
| 61 |
+
preserve_audio: bool = os.getenv('PRESERVE_AUDIO', 'true').lower() == 'true'
|
|
|
|
| 62 |
|
| 63 |
# Cache settings
|
| 64 |
model_cache_dir: str = os.getenv('MODEL_CACHE_DIR', 'models/cache')
|