Ahmed007 commited on
Commit
9c7c5b2
β€’
1 Parent(s): 3fa9a1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -91,8 +91,8 @@ demo = gr.Blocks()
91
  mf_transcribe = gr.Interface(
92
  fn=transcribe,
93
  inputs=[
94
- gr.Audio(sources="microphone", type="filepath", optional=True),
95
- gr.Audio(sources="upload", type="filepath", optional=True),
96
  ],
97
  outputs="text",
98
  layout="horizontal",
 
91
  mf_transcribe = gr.Interface(
92
  fn=transcribe,
93
  inputs=[
94
+ gr.Audio(sources="microphone", type="filepath"),
95
+ gr.Audio(sources="upload", type="filepath"),
96
  ],
97
  outputs="text",
98
  layout="horizontal",