fix #1239, use gradio>=6.0; add more clear instruction for ffmpeg installation (#1234)

This commit is contained in:
Yushen Chen
2025-12-20 16:08:13 +08:00
parent 9ae46c8360
commit 5b82f97c26
3 changed files with 10 additions and 3 deletions

View File

@@ -30,6 +30,9 @@
# Create a conda env with python_version>=3.10 (you could also use virtualenv) # Create a conda env with python_version>=3.10 (you could also use virtualenv)
conda create -n f5-tts python=3.11 conda create -n f5-tts python=3.11
conda activate f5-tts conda activate f5-tts
# Install FFmpeg if you haven't yet
conda install ffmpeg
``` ```
### Install PyTorch with matched device ### Install PyTorch with matched device
@@ -39,7 +42,11 @@ conda activate f5-tts
> ```bash > ```bash
> # Install pytorch with your CUDA version, e.g. > # Install pytorch with your CUDA version, e.g.
> pip install torch==2.8.0+cu128 torchaudio==2.8.0+cu128 --extra-index-url https://download.pytorch.org/whl/cu128
>
> # And also possible previous versions, e.g.
> pip install torch==2.4.0+cu124 torchaudio==2.4.0+cu124 --extra-index-url https://download.pytorch.org/whl/cu124 > pip install torch==2.4.0+cu124 torchaudio==2.4.0+cu124 --extra-index-url https://download.pytorch.org/whl/cu124
> # etc.
> ``` > ```
</details> </details>

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "f5-tts" name = "f5-tts"
version = "1.1.10" version = "1.1.11"
description = "F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching" description = "F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching"
readme = "README.md" readme = "README.md"
license = {text = "MIT License"} license = {text = "MIT License"}
@@ -20,7 +20,7 @@ dependencies = [
"click", "click",
"datasets", "datasets",
"ema_pytorch>=0.5.2", "ema_pytorch>=0.5.2",
"gradio>=5.0.0", "gradio>=6.0.0",
"hydra-core>=1.3.0", "hydra-core>=1.3.0",
"librosa", "librosa",
"matplotlib", "matplotlib",

View File

@@ -577,7 +577,7 @@ with gr.Blocks() as app_multistyle:
label="Cherry-pick Interface", label="Cherry-pick Interface",
lines=10, lines=10,
max_lines=40, max_lines=40,
show_copy_button=True, buttons=["copy"], # show_copy_button=True if gradio<6.0
interactive=False, interactive=False,
visible=False, visible=False,
) )