Surrendra commited on
Commit
4ea26a9
·
verified ·
1 Parent(s): a814745

Fixed an issue

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -245,7 +245,8 @@ demo = gr.Blocks()
245
  mf_transcribe = gr.Interface(
246
  fn=transcribe,
247
  inputs=[
248
- gr.Audio(source="microphone", type="filepath", optional=True),
 
249
  gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
250
  ],
251
  outputs="text",
 
245
  mf_transcribe = gr.Interface(
246
  fn=transcribe,
247
  inputs=[
248
+ #gr.Audio(source="microphone", type="filepath", optional=True),
249
+ gr.Audio(source="microphone", type="filepath"),
250
  gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
251
  ],
252
  outputs="text",