Gregniuki commited on
Commit
3045a48
·
1 Parent(s): c8183a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: