Whisper-WebUI / Install.sh
jhj0517
add shell scripts
abfa7a9
raw
history blame
No virus
372 Bytes
#!/bin/bash
if [ ! -d "venv" ]; then
echo "Creating virtual environment..."
python -m venv venv
fi
source venv/bin/activate
pip install -r requirements.txt && echo "Requirements installed successfully." || {
echo ""
echo "Requirements installation failed. Please remove the venv folder and run the script again."
deactivate
exit 1
}
deactivate