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
21 lines
521 B
Bash
Executable file
21 lines
521 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
echo "--- KV-Tube Startup ---"
|
|
|
|
# 1. Update Core Engines
|
|
echo "[Update] Checking for engine updates..."
|
|
|
|
# Update yt-dlp
|
|
echo "[Update] Updating yt-dlp..."
|
|
pip install -U yt-dlp || echo "Warning: yt-dlp update failed"
|
|
|
|
|
|
|
|
# 2. Check Loader.to Connectivity (Optional verification)
|
|
# We won't block startup on this, just log it.
|
|
echo "[Update] Engines checked."
|
|
|
|
# 3. Start Application
|
|
echo "[Startup] Launching Gunicorn..."
|
|
exec gunicorn --bind 0.0.0.0:5000 --workers 4 --threads 2 --timeout 120 wsgi:app
|