Spaces:
Sleeping
Sleeping
Commit ·
3f868f0
1
Parent(s): 6f8c357
Change to 5-second segments and lower score threshold for testing
Browse files- Reduce segment interval from 20s to 5s for faster testing
- Lower min_score from 6.5 to 3.0 to increase segment qualification
- Isolate visual analysis timeout issues with shorter segments
- Enable more granular debugging of processing pipeline
- highlights_api.py +2 -2
highlights_api.py
CHANGED
|
@@ -111,8 +111,8 @@ async def root():
|
|
| 111 |
async def upload_video(
|
| 112 |
background_tasks: BackgroundTasks,
|
| 113 |
video: UploadFile = File(...),
|
| 114 |
-
interval: float =
|
| 115 |
-
min_score: float =
|
| 116 |
max_highlights: int = 3,
|
| 117 |
whisper_model: str = "base",
|
| 118 |
timeout: int = 120
|
|
|
|
| 111 |
async def upload_video(
|
| 112 |
background_tasks: BackgroundTasks,
|
| 113 |
video: UploadFile = File(...),
|
| 114 |
+
interval: float = 5.0,
|
| 115 |
+
min_score: float = 3.0,
|
| 116 |
max_highlights: int = 3,
|
| 117 |
whisper_model: str = "base",
|
| 118 |
timeout: int = 120
|