show code js

2024年11月3日 星期日

F5-TTS

Env

  • conda create -n f5tts python=3.10
  • conda activate f5tts

(apt install -y ffmpeg)

Python

  • pip uninstall torch torchvision torchaudio transformers
  • pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
  • pip install transformers

Git

  • git clone https://github.com/SWivid/F5-TTS.git

Run

  • cd F5-TTS
  • pip install -e .
  • f5-tts_infer-gradio --port 7865 --host 0.0.0.0 --share