gigant commited on
Commit
9e5ae34
1 Parent(s): 9d9fa6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,7 +52,7 @@ demo = gr.Blocks()
52
  mic_translate = gr.Interface(
53
  fn=speech_to_speech_translation,
54
  inputs=gr.Audio(source="microphone", type="filepath"),
55
- outputs=[gr.Audio(label="Generated Speech", type="numpy"), gr.outputs.Textbox()],
56
  title=title,
57
  description=description,
58
  )
@@ -60,7 +60,7 @@ mic_translate = gr.Interface(
60
  file_translate = gr.Interface(
61
  fn=speech_to_speech_translation,
62
  inputs=gr.Audio(source="upload", type="filepath"),
63
- outputs=[gr.Audio(label="Generated Speech", type="numpy"), gr.outputs.Textbox()],
64
  examples=[["./example.wav"]],
65
  title=title,
66
  description=description,
 
52
  mic_translate = gr.Interface(
53
  fn=speech_to_speech_translation,
54
  inputs=gr.Audio(source="microphone", type="filepath"),
55
+ outputs=[gr.Audio(label="Generated Speech", type="numpy"), gr.Textbox()],
56
  title=title,
57
  description=description,
58
  )
 
60
  file_translate = gr.Interface(
61
  fn=speech_to_speech_translation,
62
  inputs=gr.Audio(source="upload", type="filepath"),
63
+ outputs=[gr.Audio(label="Generated Speech", type="numpy"), gr.Textbox()],
64
  examples=[["./example.wav"]],
65
  title=title,
66
  description=description,