update
This commit is contained in:
15
enginex/F5-TTS.md
Normal file
15
enginex/F5-TTS.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.3.0-ubuntu22.04-dtk24.04.2-py3.10
|
||||
docker run -it --shm-size=64G -v $PWD/F5-TTS:/home/F5-TTS -v /opt/hyhal:/opt/hyhal:ro --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name f5tts bash
|
||||
cd /home/F5-TTS
|
||||
pip install -e . # f5-tts==0.0.0
|
||||
# 安装ffmpeg
|
||||
apt update
|
||||
apt-get install ffmpeg
|
||||
# 解决gradio获取外网可访问的URL
|
||||
cp -r frpc_linux_amd64 /usr/local/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2
|
||||
chmod +x /usr/local/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user