forked from efforting.tech/stt-server
Add torch to both venv setup scripts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -57,6 +57,7 @@ fi
|
||||
|
||||
echo "==> upgrading pip + build tools"
|
||||
"${VENV}/bin/pip" install --upgrade pip wheel setuptools pybind11 --quiet
|
||||
"${VENV}/bin/pip" install torch
|
||||
|
||||
# --- clone (skipped if already done) ---
|
||||
if [ ! -d "${BUILD_DIR}/src/.git" ]; then
|
||||
|
||||
@@ -23,9 +23,9 @@ if [ ! -d "${VENV}" ]; then
|
||||
python3 -m venv "${VENV}"
|
||||
fi
|
||||
|
||||
echo "==> installing faster-whisper"
|
||||
echo "==> installing torch and faster-whisper"
|
||||
"${VENV}/bin/pip" install --upgrade pip --quiet
|
||||
"${VENV}/bin/pip" install faster-whisper
|
||||
"${VENV}/bin/pip" install torch faster-whisper
|
||||
|
||||
echo ""
|
||||
echo "==> done. Venv ready at ${VENV}"
|
||||
|
||||
Reference in New Issue
Block a user