Spaces:
Sleeping
Sleeping
mrsu0994
commited on
Commit
·
998522c
1
Parent(s):
eb8f80c
upload f5-tts source
Browse files- app.py +1 -0
- src/f5_tts/api.py +0 -3
app.py
CHANGED
@@ -3,6 +3,7 @@ import subprocess
|
|
3 |
import os
|
4 |
import sys
|
5 |
from huggingface_hub import hf_hub_download
|
|
|
6 |
|
7 |
app = Flask(__name__)
|
8 |
|
|
|
3 |
import os
|
4 |
import sys
|
5 |
from huggingface_hub import hf_hub_download
|
6 |
+
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'src')))
|
7 |
|
8 |
app = Flask(__name__)
|
9 |
|
src/f5_tts/api.py
CHANGED
@@ -7,9 +7,6 @@ import tqdm
|
|
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,
|
|
|
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,
|