video-analyzer: Error loading prompt at index 0
On Mac OS after running `video-analyzer “path/to/myvideo.mp4” returns following error
2024-12-22 18:32:37,314 - INFO - Extracting audio from video...
2024-12-22 18:32:37,391 - INFO - Transcribing audio...
2024-12-22 18:32:37,420 - INFO - Processing audio with duration 00:15.581
2024-12-22 18:32:37,470 - INFO - VAD filter removed 00:05.597 of audio
2024-12-22 18:32:39,241 - INFO - Detected language 'zh' with probability 0.98
2024-12-22 18:34:28,192 - INFO - Extracting frames from video using model llama3.2-vision...
2024-12-22 18:34:28,296 - INFO - Extracted 15 frames from video (target was 15)
2024-12-22 18:34:28,296 - INFO - Analyzing frames...
2024-12-22 18:34:28,296 - ERROR - Error loading prompt at index 0: Prompt file not found in prompts/frame_analysis/frame_analysis.txt or package resources
2024-12-22 18:34:28,296 - ERROR - Error during video analysis: Prompt file not found in prompts/frame_analysis/frame_analysis.txt or package resources
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (12 by maintainers)
Yes, awesome! no issue after running same command after pulling #23 . Thanks for the fix