ciditel commited on
Commit
a151b72
1 Parent(s): 25e5c7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -92,8 +92,8 @@ demo = gr.Blocks()
92
  file_transcribe = gr.Interface(
93
  fn=transcribe,
94
  inputs=[
95
- gr.inputs.Audio(source="upload", type="filepath", optional=True, label="Audio file"),
96
- gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
97
  ],
98
  outputs="text",
99
  layout="horizontal",
 
92
  file_transcribe = gr.Interface(
93
  fn=transcribe,
94
  inputs=[
95
+ gr.Audio(),
96
+ gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
97
  ],
98
  outputs="text",
99
  layout="horizontal",