Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,12 +9,8 @@ import soundfile as sf
|
|
9 |
|
10 |
from model import get_pretrained_model, language_to_models
|
11 |
|
12 |
-
title = "#
|
13 |
|
14 |
-
description = """
|
15 |
-
Text-to-speech (TTS)
|
16 |
-
|
17 |
-
"""
|
18 |
|
19 |
# css style is copied from
|
20 |
# https://huggingface.co/spaces/alphacep/asr/blob/main/app.py#L113
|
@@ -24,10 +20,6 @@ css = """
|
|
24 |
.result_item_success {background-color:mediumaquamarine;color:white;align-self:start}
|
25 |
.result_item_error {background-color:#ff7070;color:white;align-self:start}
|
26 |
"""
|
27 |
-
|
28 |
-
examples = [
|
29 |
-
["Min-nan (闽南话)", "csukuangfj/vits-mms-nan", "ài piaǸ chiah ē iaN̂", 0, 1.0],
|
30 |
-
["Thai", "csukuangfj/vits-mms-tha", "ฉันรักคุณ", 0, 1.0],
|
31 |
]
|
32 |
|
33 |
|
|
|
9 |
|
10 |
from model import get_pretrained_model, language_to_models
|
11 |
|
12 |
+
title = "# Text-to-speech (TTS)"
|
13 |
|
|
|
|
|
|
|
|
|
14 |
|
15 |
# css style is copied from
|
16 |
# https://huggingface.co/spaces/alphacep/asr/blob/main/app.py#L113
|
|
|
20 |
.result_item_success {background-color:mediumaquamarine;color:white;align-self:start}
|
21 |
.result_item_error {background-color:#ff7070;color:white;align-self:start}
|
22 |
"""
|
|
|
|
|
|
|
|
|
23 |
]
|
24 |
|
25 |
|