mitro99 commited on
Commit
181bbff
1 Parent(s): 8a193b3

Removed translation textbox

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -61,9 +61,7 @@ mic_translate = gr.Interface(
61
  fn=speech_to_speech_translation,
62
  inputs=gr.Audio(source="microphone", type="filepath"),
63
  outputs=[
64
- gr.Audio(label="Generated Speech", type="numpy"),
65
- gr.Text(label="Translation")
66
- ],
67
  title=title,
68
  description=description,
69
  )
@@ -73,7 +71,6 @@ file_translate = gr.Interface(
73
  inputs=gr.Audio(source="upload", type="filepath"),
74
  outputs=[
75
  gr.Audio(label="Generated Speech", type="numpy"),
76
- gr.Text(label="Translation")
77
  ],
78
  examples=[["./example.wav"]],
79
  title=title,
 
61
  fn=speech_to_speech_translation,
62
  inputs=gr.Audio(source="microphone", type="filepath"),
63
  outputs=[
64
+ gr.Audio(label="Generated Speech", type="numpy"),],
 
 
65
  title=title,
66
  description=description,
67
  )
 
71
  inputs=gr.Audio(source="upload", type="filepath"),
72
  outputs=[
73
  gr.Audio(label="Generated Speech", type="numpy"),
 
74
  ],
75
  examples=[["./example.wav"]],
76
  title=title,