Initial commit: Børnetime app scaffold

FastAPI + Celery + Svelte app for English→Danish video translation
with voice cloning. Includes diarization, STT, translation, TTS,
and audio mixing pipeline.
This commit is contained in:
2026-07-10 22:42:23 +02:00
commit 6851b26923
43 changed files with 3390 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
FROM rocm/pytorch:rocm6.3.2_ubuntu24.04_py3.12
WORKDIR /app
RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir \
torch transformers accelerate \
boson_multimodal \
soundfile librosa \
pyannote.audio \
llama-cpp-python \
numpy aiofiles \
sqlalchemy aiosqlite \
pydantic pydantic-settings \
celery[redis] redis
ENV PYTHONPATH=/app
ENV HUGGINGFACE_HUB_CACHE=/data/hf_cache
COPY backend/ .
CMD ["celery", "-A", "app.tasks.celery_app", "worker", "--loglevel=info", "--concurrency=1"]