Add modeldownload

This commit is contained in:
Josh XT committed 2024-01-22 20:44:18 -05:00
1 parent c29de18ad4
commit 0ed3cb75b5
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
#!/bin/sh
python modeldownload.py
uvicorn tts_server:app --host 0.0.0.0 --port 7581 --workers 1 --proxy-headers &
sleep 5
python script.py
+2 -1
View File
@@ -13,7 +13,8 @@ ENV CUDA_DOCKER_ARCH=all
RUN pip install --no-cache-dir -r requirements_nvidia.txt && \
pip install --no-cache-dir -r requirements_finetune.txt && \
pip install --no-cache-dir -r requirements_other.txt
pip install --no-cache-dir -r requirements_other.txt && \
pip install --no-cache-dir deepspeed
EXPOSE 7851
RUN chmod +x launch.sh
ENTRYPOINT ["sh", "-c", "./launch.sh"]