Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -361,7 +361,7 @@ def audio_float_to_int16(
|
|
361 |
|
362 |
def inferencing(model, config, sid, line, length_scale, noise_scale, noise_scale_w, auto_play=True):
|
363 |
audios = []
|
364 |
-
if config["phoneme_type"] == "PhonemeType.ESPEAK":
|
365 |
config["phoneme_type"] = "espeak"
|
366 |
text = phonemize(config, line)
|
367 |
for phonemes in text:
|
|
|
361 |
|
362 |
def inferencing(model, config, sid, line, length_scale, noise_scale, noise_scale_w, auto_play=True):
|
363 |
audios = []
|
364 |
+
if "phoneme_type" in config and config["phoneme_type"] == "PhonemeType.ESPEAK":
|
365 |
config["phoneme_type"] = "espeak"
|
366 |
text = phonemize(config, line)
|
367 |
for phonemes in text:
|