Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -331,8 +331,8 @@ def audio_float_to_int16(
|
|
| 331 |
|
| 332 |
def inferencing(model, config, sid, line, length_scale, noise_scale, noise_scale_w, auto_play=True):
|
| 333 |
audios = []
|
| 334 |
-
|
| 335 |
-
|
| 336 |
text = phonemize(config, line)
|
| 337 |
for phonemes in text:
|
| 338 |
phoneme_ids = phonemes_to_ids(config, phonemes)
|
|
|
|
| 331 |
|
| 332 |
def inferencing(model, config, sid, line, length_scale, noise_scale, noise_scale_w, auto_play=True):
|
| 333 |
audios = []
|
| 334 |
+
# if config["phoneme_type"] == "PhonemeType.ESPEAK":
|
| 335 |
+
# config["phoneme_type"] = "espeak"
|
| 336 |
text = phonemize(config, line)
|
| 337 |
for phonemes in text:
|
| 338 |
phoneme_ids = phonemes_to_ids(config, phonemes)
|