Olivier-Truong commited on
Commit
5c97b02
1 Parent(s): 068b0d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ demo = gr.Blocks()
93
  mf_transcribe = gr.Interface(
94
  fn=transcribe,
95
  inputs=[
96
- gr.Audio(sources=["microphone"], type="filepath", optional=True),
97
  gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
98
  ],
99
  outputs="text",
 
93
  mf_transcribe = gr.Interface(
94
  fn=transcribe,
95
  inputs=[
96
+ gr.Audio(sources=["microphone"], type="filepath"),
97
  gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
98
  ],
99
  outputs="text",