AlexK-PL commited on
Commit
1476fa2
1 Parent(s): 7a3519b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -115,11 +115,11 @@ def submit_input(input_, speaker_id):
115
  output_audio = None
116
  output_phonetic = None
117
  if input_ is not None and len(input_) < MAX_INPUT_TEXT_LEN:
118
- output_audio, output_audio_den = tts_inference(input_, speaker_id)
119
  output_phonetic = get_phonetic_transcription(input_)
120
  else:
121
  gr.Warning(f"Your text exceeds the {MAX_INPUT_TEXT_LEN}-character limit.")
122
- return output_audio, output_audio_den, output_phonetic
123
 
124
 
125
  def change_interactive(text):
 
115
  output_audio = None
116
  output_phonetic = None
117
  if input_ is not None and len(input_) < MAX_INPUT_TEXT_LEN:
118
+ output_audio = tts_inference(input_, speaker_id)
119
  output_phonetic = get_phonetic_transcription(input_)
120
  else:
121
  gr.Warning(f"Your text exceeds the {MAX_INPUT_TEXT_LEN}-character limit.")
122
+ return output_audio, output_phonetic
123
 
124
 
125
  def change_interactive(text):