tooling to launch local instance more easily

This commit is contained in:
Brandon Thomas
2023-11-27 15:42:06 -05:00
parent 8e47b21d63
commit a0536e4bd3
4 changed files with 15 additions and 7 deletions
@@ -26,3 +26,7 @@ target/
.git
.idea/
.ipynb_checkpoints/
# Dev scripts
dev_launch_docker_instance.sh
+1 -1
View File
@@ -147,7 +147,7 @@ RUN pip3 install gdown
#RUN pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
# Mostly for local development:
COPY ./start_tts_server.sh /
COPY ./container_start_tts_server.sh /
# TTS model code:
COPY ./ ./models/tts
@@ -0,0 +1,10 @@
#!/bin/bash
# This is a helpful script for local development using Docker images.
# NB(bt,2023-11-27): At some point we stopped using venv within the Docker container
# # cd models/tts
# # source python/bin/activate
# # ./vocodes_server.py
cd /models/tts && python3.6 vocodes_server.py
@@ -1,6 +0,0 @@
#!/bin/bash
# This is a helpful script for local development using Docker images.
cd models/tts
source python/bin/activate
./vocodes_server.py