Update setup-cuda.sh

This commit is contained in:
chucklesb 2024-04-08 01:11:11 -06:00 committed by GitHub
parent 799ce50b83
commit 6c70e18323
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ min_python_version='"3.11.0rc2"'
$python_bin -m pip install --upgrade packaging
$python_bin -c "import platform; from packaging.version import Version; exit(Version(platform.python_version()) < Version(${min_python_version}))"
if [[ $? = 1 ]]; then
echo "Python 3.11 is not installed. Please install it and try again."
echo "Python >= ${min_python_version} is not installed. Please install it and try again."
exit 1
fi
@ -103,6 +103,7 @@ pip install git+https://github.com/m-bain/whisperx.git
# Install other requirements (this is done last due to potential package conflicts)
pip install -r requirements.txt
chmod +x ./start.sh
./start.sh
# Clean up
rm -f *.bat