mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-17 00:23:14 +00:00
tooling to launch local instance more easily
This commit is contained in:
@@ -26,3 +26,7 @@ target/
|
||||
.git
|
||||
.idea/
|
||||
.ipynb_checkpoints/
|
||||
|
||||
# Dev scripts
|
||||
dev_launch_docker_instance.sh
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user