- Neues xtts_worker.py: Coqui XTTS-v2, HTTP-API auf Port 8085 - Router: TTS_WORKER_URL → 8085, TTS_MODEL → xtts-v2, TTS_VOICES → claribel - deploy: mike-ai-xtts.service, install.sh + deploy.sh aktualisiert - Tests: 54/54 bestanden (mock_tts_worker + test_local.sh auf XTTS umgestellt) - README: TTS-Section auf XTTS-v2 aktualisiert - Kokoro-Service gestoppt und deaktiviert (Dateien bleiben als Backup)
24 lines
915 B
Bash
Executable File
24 lines
915 B
Bash
Executable File
#!/bin/bash
|
||
# AI Profile Router – Deployment vom Coding-System auf das Zielsystem.
|
||
# Überträgt die Deploy-Dateien per SCP und führt install.sh per SSH aus.
|
||
set -euo pipefail
|
||
cd "$(dirname "$0")/.."
|
||
|
||
TARGET="${TARGET:-root@192.168.1.196}"
|
||
SSH_KEY="${SSH_KEY:-$HOME/.ssh/lmstudio_unraid}"
|
||
STAGE="/tmp/ai-profile-router-$$"
|
||
|
||
mkdir -p "$STAGE"
|
||
cp router/ai_profile_router.py router/image_worker.py router/xtts_worker.py \
|
||
router/stt_worker.py \
|
||
deploy/install.sh deploy/mike-ai-profile-router.service \
|
||
deploy/mike-ai-xtts.service deploy/mike-ai-whisper.service "$STAGE/"
|
||
|
||
echo "== Übertrage Dateien nach ${TARGET}:/tmp/ai-profile-router/"
|
||
ssh -i "$SSH_KEY" "$TARGET" 'mkdir -p /tmp/ai-profile-router'
|
||
scp -i "$SSH_KEY" "$STAGE"/* "$TARGET:/tmp/ai-profile-router/"
|
||
rm -rf "$STAGE"
|
||
|
||
echo "== Führe Installation auf dem Zielsystem aus"
|
||
ssh -i "$SSH_KEY" "$TARGET" 'bash /tmp/ai-profile-router/install.sh'
|