mirror of
https://github.com/R0m1k3/LiveFlow.git
synced 2026-10-11 17:27:19 +02:00
Implémentation complète de LiveFlow (proposition 2, moteur Qwen3-ASR)
- docker-compose : Caddy (HTTPS local) + app FastAPI + Qwen3-ASR via vLLM (GPU) - Backend : WebSocket audio, segmentation VAD (WebRTC), appel ASR compatible OpenAI, stockage SQLite, exports TXT/MD/SRT/JSON - Frontend : capture micro (AudioWorklet, rééchantillonnage 16 kHz), transcription live, historique des réunions, copie et téléchargement - README : démarrage, prérequis GPU, changement de moteur ASR https://claude.ai/code/session_01YHMp3EKzr4s6o8w1ygxuUe
This commit is contained in:
13 files changed
+964
No files matched your search
@@ -0,0 +1,53 @@
|
||||
services:
|
||||
caddy:
|
||||
image: caddy:2-alpine
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
- caddy-data:/data
|
||||
- caddy-config:/config
|
||||
depends_on:
|
||||
- app
|
||||
|
||||
app:
|
||||
build: ./app
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- ASR_BASE_URL=http://asr:8000/v1
|
||||
- ASR_MODEL=Qwen/Qwen3-ASR-1.7B
|
||||
- ASR_API_KEY=${ASR_API_KEY:-sk-local}
|
||||
# Code langue ISO ("fr", "en"...) ou vide pour la détection automatique
|
||||
- ASR_LANGUAGE=${ASR_LANGUAGE:-}
|
||||
- DB_PATH=/data/liveflow.db
|
||||
volumes:
|
||||
- liveflow-data:/data
|
||||
depends_on:
|
||||
- asr
|
||||
|
||||
asr:
|
||||
image: vllm/vllm-openai:latest
|
||||
restart: unless-stopped
|
||||
command: >-
|
||||
--model Qwen/Qwen3-ASR-1.7B
|
||||
--gpu-memory-utilization 0.70
|
||||
environment:
|
||||
- HUGGING_FACE_HUB_TOKEN=${HF_TOKEN:-}
|
||||
volumes:
|
||||
- hf-cache:/root/.cache/huggingface
|
||||
ipc: host
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
|
||||
volumes:
|
||||
caddy-data:
|
||||
caddy-config:
|
||||
liveflow-data:
|
||||
hf-cache:
|
||||
Reference in new issue
Block a user