Skip to content

Commit 1499778

Browse files
committed
Use local F5-TTS in case someone has already installed it.
#25
1 parent 8ebacb8 commit 1499778

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

F5TTS.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import io
1717
from comfy.utils import ProgressBar
1818
from cached_path import cached_path
19-
sys.path.append(os.path.join(Install.f5TTSPath, "src"))
19+
sys.path.insert(0, os.path.join(Install.f5TTSPath, "src"))
2020
from f5_tts.model import DiT,UNetT # noqa E402
2121
from f5_tts.infer.utils_infer import ( # noqa E402
2222
load_model,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-f5-tts"
33
description = "Text to speech with F5-TTS"
4-
version = "1.0.10"
4+
version = "1.0.11"
55
license = {text = "MIT License"}
66

77
[project.urls]

0 commit comments

Comments
 (0)