Merge pull request #41 from Monadical-SAS/feat/gokul

update installation scripts
This commit is contained in:
projects-g
2023-07-25 14:32:11 +05:30
committed by GitHub
2 changed files with 15 additions and 2 deletions

View File

@@ -26,7 +26,13 @@ pip install git+https://github.com/sanchit-gandhi/whisper-jax.git
# Update to latest version
pip install --upgrade --no-deps --force-reinstall git+https://github.com/sanchit-gandhi/whisper-jax.git
pip install -r ../server-requirements.txt
cwd=$(pwd)
last_component="${cwd##*/}"
if [ "$last_component" = "reflector" ]; then
pip install -r pipeline-requirements.txt
elif [ "$last_component" = "scripts" ]; then
pip install -r ../pipeline-requirements.txt
fi
# download spacy models
spacy download en_core_web_sm

View File

@@ -1,4 +1,11 @@
#!/bin/sh
pip install --upgrade pip
pip install -r ../server-requirements.txt
cwd=$(pwd)
last_component="${cwd##*/}"
if [ "$last_component" = "reflector" ]; then
pip install -r server-requirements.txt
elif [ "$last_component" = "scripts" ]; then
pip install -r ../server-requirements.txt
fi