mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 00:18:17 +00:00
adjust dockerfile and .env for new model location
This commit is contained in:
1 parent
1a15029a22
commit
bcc31bcc04
2 files changed
+4
-4
No files matched your search
@@ -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
@@ -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 ====================
|
||||
|
||||
Reference in new issue
Block a user