kv-tube/update_deps.py
KV-Tube Deployer f429116ed0
Some checks failed
Docker Build & Push / build (push) Has been cancelled
v3.1: WebLLM summarization, improved translations, copy button, removed mini player
- Added WebLLM service for client-side AI summarization and translation
- Improved summary quality (5 sentences, 600 char limit)
- Added Vietnamese character detection for proper language labels
- Added Copy button for summary content
- Key Points now extract conceptual ideas, not transcript excerpts
- Removed mini player (scroll-to-minimize) feature
- Fixed main.js null container error
- Silent WebLLM loading (no overlay/toasts)
- Added transcript service with yt-dlp
2026-01-19 19:03:09 +07:00

27 lines
887 B
Python
Executable file

import subprocess
import sys
def update_dependencies():
print("--- Updating Dependencies ---")
try:
# Update ytfetcher
print("Updating ytfetcher...")
subprocess.check_call([
sys.executable, "-m", "pip", "install", "--upgrade",
"git+https://github.com/kaya70875/ytfetcher.git"
])
print("--- ytfetcher updated successfully ---")
# Update yt-dlp (nightly)
print("Updating yt-dlp (nightly)...")
subprocess.check_call([
sys.executable, "-m", "pip", "install", "--upgrade",
"git+https://github.com/yt-dlp/yt-dlp.git"
])
print("--- yt-dlp (nightly) updated successfully ---")
except Exception as e:
print(f"--- Failed to update dependencies: {e} ---")
if __name__ == "__main__":
update_dependencies()