-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
323df90
commit a8c86ef
Showing
5 changed files
with
15 additions
and
144 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM python:3.10 | ||
|
||
RUN mkdir /code | ||
RUN mkdir -p /code/test | ||
WORKDIR /code | ||
COPY demo.py test/default_speaker.json /code/ | ||
RUN mkdir /code/test/ | ||
COPY test/ /code/test/ | ||
RUN apt-get -y update && apt-get -y install ffmpeg | ||
RUN pip install gradio requests | ||
CMD ["python", "demo.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=A xTTS speech synthesis server | ||
|
||
[Service] | ||
User=ubuntu | ||
WorkingDirectory=/home/ubuntu/xtts-streaming-server/server | ||
ExecStart=/home/ubuntu/TTS/.venv/bin/python /home/ubuntu/TTS/.venv/bin/uvicorn main:app --host 0.0.0.0 --port 8888 | ||
Restart=always | ||
|
||
[Install] | ||
WantedBy=multi-user.target |