Spaces:
Running
on
Zero
Running
on
Zero
Sync from GitHub repo
Browse filesThis Space is synced from the GitHub repo: https://github.com/SWivid/F5-TTS. Please submit contributions to the Space there
- Dockerfile +5 -0
- README_REPO.md +5 -2
Dockerfile
CHANGED
@@ -23,4 +23,9 @@ RUN git clone https://github.com/SWivid/F5-TTS.git \
|
|
23 |
|
24 |
ENV SHELL=/bin/bash
|
25 |
|
|
|
|
|
|
|
|
|
|
|
26 |
WORKDIR /workspace/F5-TTS
|
|
|
23 |
|
24 |
ENV SHELL=/bin/bash
|
25 |
|
26 |
+
# models are downloaded into this folder, so user should mount it
|
27 |
+
VOLUME /root/.cache/huggingface/hub/
|
28 |
+
# port the GUI is exposed on by default, if it is run
|
29 |
+
EXPOSE 7860
|
30 |
+
|
31 |
WORKDIR /workspace/F5-TTS
|
README_REPO.md
CHANGED
@@ -100,8 +100,11 @@ conda activate f5-tts
|
|
100 |
# Build from Dockerfile
|
101 |
docker build -t f5tts:v1 .
|
102 |
|
103 |
-
#
|
104 |
-
docker
|
|
|
|
|
|
|
105 |
```
|
106 |
|
107 |
|
|
|
100 |
# Build from Dockerfile
|
101 |
docker build -t f5tts:v1 .
|
102 |
|
103 |
+
# Run from GitHub Container Registry
|
104 |
+
docker container run --rm -it --gpus=all --mount 'type=volume,source=f5-tts,target=/root/.cache/huggingface/hub/' -p 7860:7860 ghcr.io/swivid/f5-tts:main
|
105 |
+
|
106 |
+
# Quickstart if you want to just run the web interface (not CLI)
|
107 |
+
docker container run --rm -it --gpus=all --mount 'type=volume,source=f5-tts,target=/root/.cache/huggingface/hub/' -p 7860:7860 ghcr.io/swivid/f5-tts:main f5-tts_infer-gradio --host 0.0.0.0
|
108 |
```
|
109 |
|
110 |
|