Enhance logging and configuration for YouTube Video Classifier

- Added fallback model configuration in config.ini
- Updated requirements.txt to include rich for enhanced logging
- Refactored script.py to implement rich logging for better visibility
- Modified functions to include channel link extraction and updated CSV saving logic
- Improved error handling and user feedback throughout the script
This commit is contained in:
2025-07-12 03:03:38 +00:00
parent 8c4177dca0
commit 89314f9c74
3 changed files with 377 additions and 168 deletions

View File

@@ -4,6 +4,7 @@
# Ollama settings
ollama_host = http://localhost:11434
ollama_model = qwen2.5vl:7b
ollama_fallback_model = gemma2:2b
# File paths
classifications_csv = video_classifications.csv
@@ -22,4 +23,8 @@ restart_tab_frequency = 90
enable_delete = false
enable_playlist_creation = false
# LLM timeout settings (in seconds)
llm_primary_timeout = 60
llm_fallback_timeout = 60