Upload /README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -19,7 +19,14 @@ git clone https://github.com/SWivid/F5-TTS.git
|
|
| 19 |
cd F5-TTS
|
| 20 |
```
|
| 21 |
|
| 22 |
-
### 2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
#### Install an appropriate CUDA version compatible with your PyTorch and TorchAudio versions to enable GPU support.
|
| 25 |
```bash
|
|
@@ -27,14 +34,14 @@ pip install torch==2.3.0+cu118 --extra-index-url https://download.pytorch.org/wh
|
|
| 27 |
pip install torchaudio==2.3.0+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
|
| 28 |
```
|
| 29 |
|
| 30 |
-
###
|
| 31 |
Install the required dependencies specified in the requirements.txt file to set up your environment:
|
| 32 |
|
| 33 |
```bash
|
| 34 |
pip install -r requirements.txt
|
| 35 |
```
|
| 36 |
|
| 37 |
-
###
|
| 38 |
Before running inference, ensure your system has the necessary dependencies:
|
| 39 |
|
| 40 |
Update APT Packages and Install FFmpeg
|
|
@@ -47,7 +54,7 @@ apt install -y ffmpeg
|
|
| 47 |
```
|
| 48 |
|
| 49 |
|
| 50 |
-
###
|
| 51 |
With the environment ready, you can now run the inference script. Adjust the paths as needed:
|
| 52 |
|
| 53 |
```bash
|
|
|
|
| 19 |
cd F5-TTS
|
| 20 |
```
|
| 21 |
|
| 22 |
+
### 2. Download the model weights
|
| 23 |
+
#### copy the download link of the model file and download using wget
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
wget https://hf.rst.im/ModelsLab/F5-tts-brazilian/resolve/main/Brazilian_Portuguese/model_2600000.pt -P ckpts/
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
### 3. Install CUDA
|
| 30 |
|
| 31 |
#### Install an appropriate CUDA version compatible with your PyTorch and TorchAudio versions to enable GPU support.
|
| 32 |
```bash
|
|
|
|
| 34 |
pip install torchaudio==2.3.0+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
|
| 35 |
```
|
| 36 |
|
| 37 |
+
### 4. Install Required Python Packages
|
| 38 |
Install the required dependencies specified in the requirements.txt file to set up your environment:
|
| 39 |
|
| 40 |
```bash
|
| 41 |
pip install -r requirements.txt
|
| 42 |
```
|
| 43 |
|
| 44 |
+
### 5. System Setup: APT Update, FFmpeg, and CUDA
|
| 45 |
Before running inference, ensure your system has the necessary dependencies:
|
| 46 |
|
| 47 |
Update APT Packages and Install FFmpeg
|
|
|
|
| 54 |
```
|
| 55 |
|
| 56 |
|
| 57 |
+
### 6. Run Inference with the F5-TTS Model
|
| 58 |
With the environment ready, you can now run the inference script. Adjust the paths as needed:
|
| 59 |
|
| 60 |
```bash
|