Chandranshu Jain commited on
Commit
02beba1
1 Parent(s): 60d2446

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -37,16 +37,16 @@ mic_transcribe = gr.Interface(
37
  fn=transcribe_speech,
38
  inputs=gr.Audio(sources="microphone",
39
  type="filepath"),
40
- outputs="audio",
41
- #outputs=gr.Audio(label="Translated Message"),
42
  allow_flagging="never")
43
 
44
  file_transcribe = gr.Interface(
45
  fn=transcribe_speech,
46
  inputs=gr.Audio(sources="upload",
47
  type="filepath"),
48
- outputs="audio",
49
- #outputs=gr.Audio(label="Translated Message"),
50
  allow_flagging="never"
51
  )
52
  with demo:
 
37
  fn=transcribe_speech,
38
  inputs=gr.Audio(sources="microphone",
39
  type="filepath"),
40
+ #outputs="audio",
41
+ outputs=gr.Audio(label="Translated Message"),
42
  allow_flagging="never")
43
 
44
  file_transcribe = gr.Interface(
45
  fn=transcribe_speech,
46
  inputs=gr.Audio(sources="upload",
47
  type="filepath"),
48
+ #outputs="audio",
49
+ outputs=gr.Audio(label="Translated Message"),
50
  allow_flagging="never"
51
  )
52
  with demo: