Skip to content

Commit 5b82f97

Browse files
Yushen ChenYushen Chen
authored andcommitted
fix #1239, use gradio>=6.0; add more clear instruction for ffmpeg installation (#1234)
1 parent 9ae46c8 commit 5b82f97

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
# Create a conda env with python_version>=3.10 (you could also use virtualenv)
3131
conda create -n f5-tts python=3.11
3232
conda activate f5-tts
33+
34+
# Install FFmpeg if you haven't yet
35+
conda install ffmpeg
3336
```
3437

3538
### Install PyTorch with matched device
@@ -39,7 +42,11 @@ conda activate f5-tts
3942

4043
> ```bash
4144
> # Install pytorch with your CUDA version, e.g.
45+
> pip install torch==2.8.0+cu128 torchaudio==2.8.0+cu128 --extra-index-url https://download.pytorch.org/whl/cu128
46+
>
47+
> # And also possible previous versions, e.g.
4248
> pip install torch==2.4.0+cu124 torchaudio==2.4.0+cu124 --extra-index-url https://download.pytorch.org/whl/cu124
49+
> # etc.
4350
> ```
4451
4552
</details>

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "f5-tts"
7-
version = "1.1.10"
7+
version = "1.1.11"
88
description = "F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching"
99
readme = "README.md"
1010
license = {text = "MIT License"}
@@ -20,7 +20,7 @@ dependencies = [
2020
"click",
2121
"datasets",
2222
"ema_pytorch>=0.5.2",
23-
"gradio>=5.0.0",
23+
"gradio>=6.0.0",
2424
"hydra-core>=1.3.0",
2525
"librosa",
2626
"matplotlib",

src/f5_tts/infer/infer_gradio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def insert_speech_type_fn(current_text, speech_type_name, speech_type_seed, spee
577577
label="Cherry-pick Interface",
578578
lines=10,
579579
max_lines=40,
580-
show_copy_button=True,
580+
buttons=["copy"], # show_copy_button=True if gradio<6.0
581581
interactive=False,
582582
visible=False,
583583
)

0 commit comments

Comments
 (0)