Spaces:
Running
Running
clementruhm
commited on
Commit
·
babf22d
1
Parent(s):
5b5d4c0
fix the model location
Browse files
app.py
CHANGED
@@ -33,8 +33,6 @@ def main():
|
|
33 |
3. Select speaker
|
34 |
4. Hit "Generate" and listen to the result!
|
35 |
|
36 |
-
When you select model for the first time,
|
37 |
-
it will take a little time to download it.
|
38 |
You can learn more about models available
|
39 |
[here](https://huggingface.co/balacoon/tts).
|
40 |
Visit [Balacoon website](https://balacoon.com/) for more info.
|
@@ -45,7 +43,7 @@ def main():
|
|
45 |
|
46 |
with gr.Row():
|
47 |
with gr.Column(variant="panel"):
|
48 |
-
repo_files =
|
49 |
model_files = [x for x in repo_files if x.endswith("_cpu.addon")]
|
50 |
model_name = gr.Dropdown(
|
51 |
label="Model",
|
|
|
33 |
3. Select speaker
|
34 |
4. Hit "Generate" and listen to the result!
|
35 |
|
|
|
|
|
36 |
You can learn more about models available
|
37 |
[here](https://huggingface.co/balacoon/tts).
|
38 |
Visit [Balacoon website](https://balacoon.com/) for more info.
|
|
|
43 |
|
44 |
with gr.Row():
|
45 |
with gr.Column(variant="panel"):
|
46 |
+
repo_files = os.listdir(model_repo_dir)
|
47 |
model_files = [x for x in repo_files if x.endswith("_cpu.addon")]
|
48 |
model_name = gr.Dropdown(
|
49 |
label="Model",
|