thak123 commited on
Commit
98912a7
1 Parent(s): 5398a1d

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"),
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(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")],