mirror of
https://github.com/SWivid/F5-TTS.git
synced 2025-12-12 15:50:07 -08:00
update README.md, add nvidia device gradio infer docker compose file example
This commit is contained in:
27
README.md
27
README.md
@@ -87,6 +87,33 @@ f5-tts_infer-gradio --port 7860 --host 0.0.0.0
|
||||
f5-tts_infer-gradio --share
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>NVIDIA device docker compose file example</summary>
|
||||
|
||||
``` yaml
|
||||
services:
|
||||
f5-tts:
|
||||
image: ghcr.io/swivid/f5-tts:main
|
||||
ports:
|
||||
- "7860:7860"
|
||||
environment:
|
||||
GRADIO_SERVER_PORT: 7860
|
||||
entrypoint: ["f5-tts_infer-gradio", "--port", "7860", "--host", "0.0.0.0"]
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
|
||||
volumes:
|
||||
f5-tts:
|
||||
driver: local
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
### 2. CLI Inference
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user