adjust dockerfile and .env for new model location

This commit is contained in:
Brandon Thomas committed 2021-08-29 03:54:02 -04:00
1 parent 1a15029a22
commit bcc31bcc04
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ W2L_END_BUMP_FILENAME=vocodes-short-end-bump.mp4
W2L_DOWNLOAD_SCRIPT_NAME=vocodes_process_upload.py
TTS_CODE_DIRECTORY=/home/bt/dev/storyteller/storyteller-web/models/tacotron2
TTS_CODE_DIRECTORY=/home/bt/dev/storyteller/storyteller-web/models/tts
TTS_INFERENCE_SCRIPT_NAME=vocodes_inference.py
TTS_MODEL_CHECK_SCRIPT_NAME=vocodes_model_check.py
+3 -3
View File
@@ -130,15 +130,15 @@ RUN . python/bin/activate \
WORKDIR /
COPY models/tacotron2 ./models/tacotron2
WORKDIR models/tacotron2
COPY models/tts ./models/tts
WORKDIR models/tts
# NB: Not sure if we need Python3.6 for Tacotron2, but Python3.8 gave me trouble.
# NB: Setuptools fix: https://github.com/tensorflow/tensorflow/issues/34302#issuecomment-554450289
RUN python3.6 -m venv python
RUN . python/bin/activate \
&& pip install --upgrade pip setuptools \
&& pip install -r requirements-working-2021-05-31.txt \
&& pip install -r requirements-tacotron-python36.txt \
&& deactivate
# ==================== Rust Build Base ====================