Dockerfile description, ignores, start script (local dev)

This commit is contained in:
Brandon Thomas
2022-11-27 16:10:38 -05:00
parent c7a880924f
commit 7115423a9e
3 changed files with 15 additions and 3 deletions
+4 -3
View File
@@ -5,9 +5,10 @@
.git
.idea/
__pycache__/
tts/models/Wav2Lip/python/
tts/models/tacotron2/python/
tts/python/
python/
secrets.toml
secrets.yaml
target/
tts/models/Wav2Lip/python/
tts/models/tacotron2/python/
tts/python/
+5
View File
@@ -230,6 +230,7 @@ LABEL org.opencontainers.image.authors='bt@brand.io, echelon@gmail.com'
LABEL org.opencontainers.image.url='https://github.com/storytold/tts-core'
LABEL org.opencontainers.image.documentation='https://github.com/storytold/tts-core'
LABEL org.opencontainers.image.source='https://github.com/storytold/tts-core'
LABEL org.opencontainers.image.description='Storyteller ML model monorepo: TTS, etc.'
# NB(echelon,2022-07-06): The following fix for revoked keys was copied from "storyteller-rust".
@@ -277,5 +278,9 @@ RUN pip3 install gdown
# Fixes bug, "NVIDIA GeForce RTX 3080 with CUDA capability sm_86 is not compatible with the current PyTorch installation."
#RUN pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
# Mostly for local development:
COPY ./start_tts_server.sh /
# TTS model code:
COPY ./tts ./models/tts
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
cd models/tts
source python/bin/activate
./vocodes_server.py