Add files via upload
This commit is contained in:
1 parent
58a70caebc
commit
2f49f61645
6 files changed
+89
-91
No files matched your search
+11
-11
@@ -1,12 +1,12 @@
|
|||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04
|
||||||
ENV HOST 0.0.0.0
|
ENV HOST 0.0.0.0
|
||||||
RUN apt-get update && apt-get upgrade -y \
|
RUN apt-get update && apt-get upgrade -y \
|
||||||
&& apt-get install -y git build-essential portaudio19-dev \
|
&& apt-get install -y git build-essential portaudio19-dev \
|
||||||
python3 python3-pip gcc wget \
|
python3 python3-pip gcc wget \
|
||||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pip install --no-cache-dir -r requirements_other.txt
|
RUN pip install --no-cache-dir -r system/requirements/requirements_standalone.txt
|
||||||
EXPOSE 7851
|
EXPOSE 7851
|
||||||
RUN chmod +x launch.sh
|
RUN chmod +x launch.sh
|
||||||
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
||||||
+20
-20
@@ -1,20 +1,20 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
alltalk-tts:
|
alltalk-tts:
|
||||||
image: erew123/alltalk_tts:cuda
|
image: erew123/alltalk_tts:cuda
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "7851:7851"
|
- "7851:7851"
|
||||||
volumes:
|
volumes:
|
||||||
- ./outputs:/app/outputs/
|
- ./outputs:/app/outputs/
|
||||||
- ./models:/app/models/
|
- ./models:/app/models/
|
||||||
- ./voices:/app/voices/
|
- ./voices:/app/voices/
|
||||||
- ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here
|
- ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here
|
||||||
- ./dockerconfig.json:/app/confignew.json
|
- ./dockerconfig.json:/app/confignew.json
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
devices:
|
devices:
|
||||||
- driver: nvidia
|
- driver: nvidia
|
||||||
count: all
|
count: all
|
||||||
capabilities: [ gpu ]
|
capabilities: [ gpu ]
|
||||||
+13
-13
@@ -1,13 +1,13 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
alltalk-tts:
|
alltalk-tts:
|
||||||
image: erew123/alltalk_tts:cpu
|
image: erew123/alltalk_tts:cpu
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "7851:7851"
|
- "7851:7851"
|
||||||
volumes:
|
volumes:
|
||||||
- ./outputs:/app/outputs/
|
- ./outputs:/app/outputs/
|
||||||
- ./models:/app/models/
|
- ./models:/app/models/
|
||||||
- ./voices:/app/voices/
|
- ./voices:/app/voices/
|
||||||
- ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here
|
- ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here
|
||||||
- ./dockerconfig.json:/app/confignew.json
|
- ./dockerconfig.json:/app/confignew.json
|
||||||
+24
-24
@@ -1,25 +1,25 @@
|
|||||||
{
|
{
|
||||||
"activate": true,
|
"activate": true,
|
||||||
"autoplay": true,
|
"autoplay": true,
|
||||||
"branding": "AllTalk ",
|
"branding": "AllTalk ",
|
||||||
"narrator_enabled": false,
|
"narrator_enabled": false,
|
||||||
"deepspeed_activate": true,
|
"deepspeed_activate": true,
|
||||||
"delete_output_wavs": "Disabled",
|
"delete_output_wavs": "Disabled",
|
||||||
"ip_address": "127.0.0.1",
|
"ip_address": "127.0.0.1",
|
||||||
"language": "English",
|
"language": "English",
|
||||||
"low_vram": false,
|
"low_vram": false,
|
||||||
"local_temperature": "0.7",
|
"local_temperature": "0.7",
|
||||||
"local_repetition_penalty": "10.0",
|
"local_repetition_penalty": "10.0",
|
||||||
"tts_model_loaded": true,
|
"tts_model_loaded": true,
|
||||||
"tts_model_name": "tts_models/multilingual/multi-dataset/xtts_v2",
|
"tts_model_name": "tts_models/multilingual/multi-dataset/xtts_v2",
|
||||||
"narrator_voice": "female_01.wav",
|
"narrator_voice": "female_01.wav",
|
||||||
"output_folder_wav": "extensions/alltalk_tts/outputs/",
|
"output_folder_wav": "extensions/alltalk_tts/outputs/",
|
||||||
"output_folder_wav_standalone": "outputs/",
|
"output_folder_wav_standalone": "outputs/",
|
||||||
"port_number": "7851",
|
"port_number": "7851",
|
||||||
"remove_trailing_dots": false,
|
"remove_trailing_dots": false,
|
||||||
"show_text": true,
|
"show_text": true,
|
||||||
"tts_method_api_local": false,
|
"tts_method_api_local": false,
|
||||||
"tts_method_api_tts": false,
|
"tts_method_api_tts": false,
|
||||||
"tts_method_xtts_local": true,
|
"tts_method_xtts_local": true,
|
||||||
"voice": "female_01.wav"
|
"voice": "female_01.wav"
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
python modeldownload.py
|
python modeldownload.py
|
||||||
uvicorn tts_server:app --host 0.0.0.0 --port 7851 --workers 1 --proxy-headers &
|
uvicorn tts_server:app --host 0.0.0.0 --port 7851 --workers 1 --proxy-headers &
|
||||||
sleep 5
|
sleep 5
|
||||||
python script.py
|
python script.py
|
||||||
+17
-19
@@ -1,20 +1,18 @@
|
|||||||
FROM nvidia/cuda:12.1.1-devel-ubuntu22.04
|
FROM nvidia/cuda:12.1.1-devel-ubuntu22.04
|
||||||
ENV HOST 0.0.0.0
|
ENV HOST 0.0.0.0
|
||||||
RUN apt-get update && apt-get upgrade -y \
|
RUN apt-get update && apt-get upgrade -y \
|
||||||
&& apt-get install -y git build-essential portaudio19-dev \
|
&& apt-get install -y git build-essential portaudio19-dev \
|
||||||
python3 python3-pip gcc wget \
|
python3 python3-pip gcc wget \
|
||||||
ocl-icd-opencl-dev opencl-headers clinfo \
|
ocl-icd-opencl-dev opencl-headers clinfo \
|
||||||
libclblast-dev libopenblas-dev \
|
libclblast-dev libopenblas-dev \
|
||||||
&& mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd \
|
&& mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd \
|
||||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
ENV CUDA_DOCKER_ARCH=all
|
ENV CUDA_DOCKER_ARCH=all
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements_nvidia.txt && \
|
RUN pip install --no-cache-dir -r system/requirements/requirements_standalone.txt && \
|
||||||
pip install --no-cache-dir -r requirements_finetune.txt && \
|
pip install --no-cache-dir deepspeed
|
||||||
pip install --no-cache-dir -r requirements_other.txt && \
|
EXPOSE 7851
|
||||||
pip install --no-cache-dir deepspeed
|
RUN chmod +x launch.sh
|
||||||
EXPOSE 7851
|
|
||||||
RUN chmod +x launch.sh
|
|
||||||
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
||||||
Reference in new issue
Block a user