feat(diarization-ui): add FastAPI UI backend with sqlite storage and Ollama analysis pipeline
This commit is contained in:
45
README.md
45
README.md
@@ -1,20 +1,39 @@
|
||||
# diarization-ui
|
||||
|
||||
Separate UI container for the diarization/transcription API.
|
||||
|
||||
## Run
|
||||
|
||||
```bash
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
UI will be available on `http://127.0.0.1:8094/`.
|
||||
|
||||
By default it calls API at `http://diarization-api:8093`.
|
||||
Set `API_BASE` in `.env` if needed.
|
||||
Eigenes UI-Projekt (separates Repo/Container) für:
|
||||
- Upload Audio
|
||||
- Aufruf von `transcribe-diarize` API
|
||||
- Speichern in SQLite
|
||||
- LLM-Auswertung via Ollama (Qwen)
|
||||
|
||||
## .env
|
||||
|
||||
```env
|
||||
API_BASE=http://diarization-api:8093
|
||||
API_BASE=http://gx10.aquantico.lan:8093
|
||||
OLLAMA_BASE_URL=http://gx10.aquantico.lan:11434
|
||||
OLLAMA_MODEL=qwen3.5:9b
|
||||
```
|
||||
|
||||
## Start (Docker/Compose)
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
UI: `http://127.0.0.1:8094/`
|
||||
|
||||
## Podman (einzelner Container)
|
||||
|
||||
```bash
|
||||
podman build -t localhost/diarization-ui:latest .
|
||||
podman rm -f diarization-ui || true
|
||||
podman run -d --name diarization-ui -p 18094:8094 \
|
||||
-e API_BASE=http://gx10.aquantico.lan:8093 \
|
||||
-e OLLAMA_BASE_URL=http://gx10.aquantico.lan:11434 \
|
||||
-e OLLAMA_MODEL=qwen3.5:9b \
|
||||
-v diarization_ui_data:/data \
|
||||
localhost/diarization-ui:latest
|
||||
```
|
||||
|
||||
UI dann: `http://127.0.0.1:18094/`
|
||||
|
||||
Reference in New Issue
Block a user