mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
update installation scripts
This commit is contained in:
@@ -26,7 +26,13 @@ pip install git+https://github.com/sanchit-gandhi/whisper-jax.git
|
|||||||
# Update to latest version
|
# Update to latest version
|
||||||
pip install --upgrade --no-deps --force-reinstall git+https://github.com/sanchit-gandhi/whisper-jax.git
|
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
|
# download spacy models
|
||||||
spacy download en_core_web_sm
|
spacy download en_core_web_sm
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
pip install --upgrade pip
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user