Рабочий пайплайн: YouTube -> транскрипция -> выжимка -> Postgres

- новый 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>
This commit is contained in:
jze9
2026-07-14 11:12:46 +05:00
parent 564c9c2d2f
commit 2697e01714
51 changed files with 2313 additions and 284 deletions

View File

@@ -1,14 +1,12 @@
[project]
name = "llm-infa"
version = "0.2.0"
description = "Add your description here"
version = "0.3.0"
description = "YouTube -> транскрипция -> LLM-выжимка -> Postgres"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"asyncio>=4.0.0",
"asyncpg>=0.31.0",
"fastapi>=0.129.0",
"moviepy>=2.2.1",
"pydantic>=2.12.5",
"pydantic-settings>=2.13.0",
"sqlalchemy>=2.0.46",
@@ -17,3 +15,11 @@ dependencies = [
"vosk>=0.3.45",
"yt-dlp>=2026.2.4",
]
[dependency-groups]
# Flet UI (запускается в контейнере web на python 3.12; классический API flet)
web = [
"flet==0.28.3",
"flet-web==0.28.3",
"httpx>=0.28.1",
]