mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
Complete voice pipeline combining: - STT: Whisper (mana-stt) - LLM: Ollama (Gemma/Qwen) - TTS: Edge TTS (15 German voices) Endpoints: - /voice - Full audio-to-audio pipeline - /chat/audio - Text-to-audio - /tts - Direct TTS - /transcribe - STT only Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
566 B
Bash
Executable file
27 lines
566 B
Bash
Executable file
#!/bin/bash
|
|
# Setup script for Mana Voice Bot
|
|
|
|
set -e
|
|
|
|
echo "Setting up Mana Voice Bot..."
|
|
|
|
# Create virtual environment
|
|
if [ ! -d "venv" ]; then
|
|
echo "Creating virtual environment..."
|
|
python3 -m venv venv
|
|
fi
|
|
|
|
# Activate and install dependencies
|
|
source venv/bin/activate
|
|
pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
|
|
echo ""
|
|
echo "Setup complete!"
|
|
echo ""
|
|
echo "To start the service:"
|
|
echo " source venv/bin/activate"
|
|
echo " uvicorn app.main:app --host 0.0.0.0 --port 3050 --reload"
|
|
echo ""
|
|
echo "Or use the start script:"
|
|
echo " ./start.sh"
|