AlexK-PL commited on
Commit
7a3519b
verified
1 Parent(s): 986b26e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -111,11 +111,11 @@ description = """
111
  """
112
 
113
 
114
- def submit_input(input_, speaker_id, use_dn):
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, use_dn)
119
  output_phonetic = get_phonetic_transcription(input_)
120
  else:
121
  gr.Warning(f"Your text exceeds the {MAX_INPUT_TEXT_LEN}-character limit.")
 
111
  """
112
 
113
 
114
+ 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.")