thak123 commited on
Commit
b27b578
1 Parent(s): 786364a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def transcribe(audio):
22
 
23
  iface = gr.Interface(
24
  fn=transcribe,
25
- inputs=[gr.Audio(source="microphone", type="filepath"), gr.Audio(source="upload", type="filepath")],
26
  outputs="text",
27
  examples=[
28
  [os.path.join(os.path.dirname("."),"audio/chalyaami.mp3")],
 
22
 
23
  iface = gr.Interface(
24
  fn=transcribe,
25
+ inputs=[gr.Audio(sources=["microphone", "upload"]],
26
  outputs="text",
27
  examples=[
28
  [os.path.join(os.path.dirname("."),"audio/chalyaami.mp3")],