Some checks failed
Docker Build & Push / build (push) Has been cancelled
- 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
27 lines
887 B
Python
Executable file
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()
|