Spaces:
Build error
Build error
Commit
·
d985d89
1
Parent(s):
f41a8b4
Update app.py
Browse files
app.py
CHANGED
@@ -8,15 +8,7 @@ import json
|
|
8 |
from zipfile import ZipFile
|
9 |
|
10 |
# Define constants
|
11 |
-
|
12 |
-
<div style="display: flex">
|
13 |
-
<span style="margin-right: 5px">
|
14 |
-
[ ![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white) ](https://github.com/UNHSAILLab/Persian-TTS)
|
15 |
-
|
16 |
-
</span>
|
17 |
-
|
18 |
-
</div>
|
19 |
-
"""
|
20 |
MODEL_INFO = [
|
21 |
#["vits checkpoint 57000", "checkpoint_57000.pth", "config.json", "mhrahmani/persian-tts-vits-0"],
|
22 |
# ["VITS Grapheme Multispeaker CV15(reduct)(best at 17864)", "best_model_17864.pth", "config.json",
|
@@ -177,6 +169,13 @@ iface = gr.Interface(
|
|
177 |
#### Pick a speaker for MultiSpeaker models. (for single speaker go for speaker-0)
|
178 |
{badges}
|
179 |
""",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
article="",
|
181 |
live=False
|
182 |
)
|
|
|
8 |
from zipfile import ZipFile
|
9 |
|
10 |
# Define constants
|
11 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
MODEL_INFO = [
|
13 |
#["vits checkpoint 57000", "checkpoint_57000.pth", "config.json", "mhrahmani/persian-tts-vits-0"],
|
14 |
# ["VITS Grapheme Multispeaker CV15(reduct)(best at 17864)", "best_model_17864.pth", "config.json",
|
|
|
169 |
#### Pick a speaker for MultiSpeaker models. (for single speaker go for speaker-0)
|
170 |
{badges}
|
171 |
""",
|
172 |
+
badges = """
|
173 |
+
<div style="display: flex">
|
174 |
+
<span style="margin-right: 5px">
|
175 |
+
[ ![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white) ](https://github.com/UNHSAILLab/Persian-TTS)
|
176 |
+
</span>
|
177 |
+
</div>
|
178 |
+
""",
|
179 |
article="",
|
180 |
live=False
|
181 |
)
|