This commit is contained in:
SWivid
2024-12-22 11:09:29 +08:00
parent ae4717a2ea
commit 3e73553bd9
3 changed files with 1 additions and 8 deletions

View File

@@ -19,7 +19,6 @@ WORKDIR /workspace
RUN git clone https://github.com/SWivid/F5-TTS.git \
&& cd F5-TTS \
&& git submodule update --init --recursive \
&& sed -i '7iimport sys\nsys.path.append(os.path.dirname(os.path.abspath(__file__)))' src/third_party/BigVGAN/bigvgan.py \
&& pip install -e . --no-cache-dir
ENV SHELL=/bin/bash

View File

@@ -46,12 +46,6 @@ cd F5-TTS
# git submodule update --init --recursive # (optional, if need bigvgan)
pip install -e .
```
If initialize submodule, you should add the following code at the beginning of `src/third_party/BigVGAN/bigvgan.py`.
```python
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
```
### 3. Docker usage
```bash

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "f5-tts"
version = "0.3.3"
version = "0.3.4"
description = "F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching"
readme = "README.md"
license = {text = "MIT License"}