Spaces:
Sleeping
Sleeping
mrsu0994
commited on
Commit
·
eb8f80c
1
Parent(s):
481efb0
upload f5-tts source
Browse files- src/f5_tts/api.py +3 -0
src/f5_tts/api.py
CHANGED
@@ -7,6 +7,9 @@ import tqdm
|
|
7 |
from cached_path import cached_path
|
8 |
from omegaconf import OmegaConf
|
9 |
|
|
|
|
|
|
|
10 |
from f5_tts.infer.utils_infer import (
|
11 |
load_model,
|
12 |
load_vocoder,
|
|
|
7 |
from cached_path import cached_path
|
8 |
from omegaconf import OmegaConf
|
9 |
|
10 |
+
import os
|
11 |
+
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'src')))
|
12 |
+
|
13 |
from f5_tts.infer.utils_infer import (
|
14 |
load_model,
|
15 |
load_vocoder,
|