mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-11-20 13:07:52 +09:00
23 lines
583 B
Bash
23 lines
583 B
Bash
#!/bin/bash
|
|
# Activate virtual environment and run UltraSinger
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
cd "$SCRIPT_DIR"
|
|
|
|
# Check if .venv exists
|
|
if [ ! -d ".venv" ]; then
|
|
echo "Error: Virtual environment not found at .venv"
|
|
echo "Please run one of the installation scripts first:"
|
|
echo " - install/CPU/linux_cpu.sh (for CPU)"
|
|
echo " - install/CUDA/linux_cuda_gpu.sh (for GPU with CUDA)"
|
|
exit 1
|
|
fi
|
|
|
|
# Activate virtual environment
|
|
source .venv/bin/activate
|
|
|
|
# Navigate to src and start UltraSinger
|
|
cd src
|
|
echo "Starting UltraSinger..."
|
|
python UltraSinger.py
|