almncarlo commited on
Commit
18caf08
·
verified ·
1 Parent(s): 43b96ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -312,18 +312,20 @@ with gr.Blocks(
312
  variant="primary", # make "primary" so it stands out (default is "secondary")
313
  )
314
 
315
- model_output_text_box = gr.Textbox(
316
- label="Model Output",
317
- elem_id="model_output_text_box",
318
- )
319
-
320
  audio_out = gr.Audio(label="Generated Audio", type="numpy", elem_id="audio_out")
321
 
 
 
 
 
 
 
 
322
 
323
  go_button.click(
324
  fn=main,
325
  inputs = [audio_file, src_lang, tgt_lang, pnc],
326
- outputs = [model_output_text_box, audio_out]
327
  )
328
 
329
  # call on_src_or_tgt_lang_change whenever src_lang or tgt_lang dropdown menus are changed
 
312
  variant="primary", # make "primary" so it stands out (default is "secondary")
313
  )
314
 
 
 
 
 
 
315
  audio_out = gr.Audio(label="Generated Audio", type="numpy", elem_id="audio_out")
316
 
317
+ # model_output_text_box = gr.Textbox(
318
+ # label="Model Output",
319
+ # elem_id="model_output_text_box",
320
+ # )
321
+
322
+ # audio_out = gr.Audio(label="Generated Audio", type="numpy", elem_id="audio_out")
323
+
324
 
325
  go_button.click(
326
  fn=main,
327
  inputs = [audio_file, src_lang, tgt_lang, pnc],
328
+ outputs = [audio_out]
329
  )
330
 
331
  # call on_src_or_tgt_lang_change whenever src_lang or tgt_lang dropdown menus are changed