PhysHunter commited on
Commit
b9a1e7a
·
1 Parent(s): b061611

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,7 +46,7 @@ mic_translate = gr.Interface(
46
  fn=speech_to_speech_translation,
47
  inputs=gr.Audio(source="microphone", type="filepath"),
48
  outputs=gr.Audio(label="Generated Speech", type="numpy"),
49
- examples=[["./example.wav"]],
50
  title=title,
51
  description=description,
52
  )
@@ -56,7 +56,7 @@ file_translate = gr.Interface(
56
  inputs=gr.Audio(source="upload", type="filepath"),
57
  outputs=gr.outputs.Textbox(),
58
  #outputs=gr.Audio(label="Generated Speech", type="numpy"),
59
- examples=[["./example.wav"]],
60
  title=title,
61
  description=description,
62
  )
 
46
  fn=speech_to_speech_translation,
47
  inputs=gr.Audio(source="microphone", type="filepath"),
48
  outputs=gr.Audio(label="Generated Speech", type="numpy"),
49
+ #examples=[["./example.wav"]],
50
  title=title,
51
  description=description,
52
  )
 
56
  inputs=gr.Audio(source="upload", type="filepath"),
57
  outputs=gr.outputs.Textbox(),
58
  #outputs=gr.Audio(label="Generated Speech", type="numpy"),
59
+ #examples=[["./example.wav"]],
60
  title=title,
61
  description=description,
62
  )