mahimairaja commited on
Commit
39a157e
1 Parent(s): 51f1e64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,14 +18,14 @@ demo = gr.Blocks()
18
 
19
  mic_transcribe = gr.Interface(
20
  fn=transcribe,
21
- inputs=gr.Audio(source="microphone", type="filepath"),
22
  outputs="text",
23
  title=TITLE,
24
  )
25
 
26
  file_transcribe = gr.Interface(
27
  fn=transcribe,
28
- inputs=gr.Audio(source="upload", type="filepath"),
29
  outputs="text",
30
  examples=[
31
  "assets/tamil-audio-01.mp3",
 
18
 
19
  mic_transcribe = gr.Interface(
20
  fn=transcribe,
21
+ inputs=gr.Audio(sources="microphone", type="filepath"),
22
  outputs="text",
23
  title=TITLE,
24
  )
25
 
26
  file_transcribe = gr.Interface(
27
  fn=transcribe,
28
+ inputs=gr.Audio(sources="upload", type="filepath"),
29
  outputs="text",
30
  examples=[
31
  "assets/tamil-audio-01.mp3",