Update app.py
Browse files
app.py
CHANGED
@@ -36,10 +36,6 @@ limitation = os.getenv("SYSTEM") == "spaces" # limit text and audio length in h
|
|
36 |
|
37 |
def create_tts_fn(model, hps, speaker_ids):
|
38 |
def tts_fn(text, speaker, language, speed, is_symbol):
|
39 |
-
text="你好,训练员先生,很高兴见到你。"
|
40 |
-
speaker="草上飞 Grass Wonder (Umamusume Pretty Derby)"
|
41 |
-
language="简体中文"
|
42 |
-
speed=1
|
43 |
is_symbol=False
|
44 |
if limitation:
|
45 |
text_len = len(re.sub("\[([A-Z]{2})\]", "", text))
|
|
|
36 |
|
37 |
def create_tts_fn(model, hps, speaker_ids):
|
38 |
def tts_fn(text, speaker, language, speed, is_symbol):
|
|
|
|
|
|
|
|
|
39 |
is_symbol=False
|
40 |
if limitation:
|
41 |
text_len = len(re.sub("\[([A-Z]{2})\]", "", text))
|