- новый api/: /pipeline/process (yt-dlp, субтитры или Vosk, LLM/экстрактивная суммаризация), /videos, /llm; старый код перенесён в api_legacy/ - web/: Flet UI (flet 0.28.3 + flet-web, порт 8550) - Dockerfile.api: ffmpeg слоем из mwader/static-ffmpeg, pip с кэш-маунтом - requirements/pyproject: убраны moviepy, imageio-ffmpeg, битый asyncio - README с инструкцией запуска и загрузкой Vosk-модели Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
28 lines
785 B
Bash
28 lines
785 B
Bash
# Postgres
|
|
DB_USER=postgres
|
|
DB_PASS=secretpassword
|
|
DB_NAME=test_db
|
|
DB_HOST=db
|
|
DB_PORT=5432
|
|
|
|
# Pipeline defaults
|
|
DEFAULT_VOSK_MODEL=models/vosk-model-small-ru-0.22
|
|
SUBTITLE_LANGS=ru,en
|
|
|
|
# External LLM (OpenAI-compatible API). The LLM is NOT hosted here.
|
|
# Leave empty to fall back to the built-in extractive summarizer.
|
|
# Examples:
|
|
# OpenAI: LLM_BASE_URL=https://api.openai.com/v1
|
|
# LLM_MODEL=gpt-4o-mini
|
|
# OpenRouter: LLM_BASE_URL=https://openrouter.ai/api/v1
|
|
# LLM_MODEL=anthropic/claude-3.5-sonnet
|
|
# Ollama: LLM_BASE_URL=http://host.docker.internal:11434/v1
|
|
# LLM_MODEL=llama3.1
|
|
# vLLM: LLM_BASE_URL=http://vllm-host:8000/v1
|
|
LLM_BASE_URL=
|
|
LLM_API_KEY=
|
|
LLM_MODEL=
|
|
LLM_TIMEOUT=120
|
|
LLM_MAX_TOKENS=1000
|
|
LLM_TEMPERATURE=0.3
|