Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -367,7 +367,7 @@ def inferencing(model, config, sid, line, length_scale, noise_scale, noise_scale
|
|
367 |
|
368 |
# Fix applied here
|
369 |
if phoneme_type == PhonemeType.ESPEAK.value:
|
370 |
-
|
371 |
text = phonemize(config, line)
|
372 |
for phonemes in text:
|
373 |
phoneme_ids = phonemes_to_ids(config, phonemes)
|
|
|
367 |
|
368 |
# Fix applied here
|
369 |
if phoneme_type == PhonemeType.ESPEAK.value:
|
370 |
+
config["phoneme_type"] = "espeak"
|
371 |
text = phonemize(config, line)
|
372 |
for phonemes in text:
|
373 |
phoneme_ids = phonemes_to_ids(config, phonemes)
|