Chris Bracegirdle commited on
Commit
7f58b08
1 Parent(s): 32fff0c
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,8 +43,8 @@ demo = gr.Blocks()
43
  file_transcribe = gr.Interface(
44
  fn=transcribe,
45
  inputs=[
46
- gr.Audio(source="upload", type="filepath", optional=True, label="Audio file"),
47
- gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
48
  ],
49
  outputs="text",
50
  layout="horizontal",
 
43
  file_transcribe = gr.Interface(
44
  fn=transcribe,
45
  inputs=[
46
+ gr.Audio(sources="upload", type="filepath", label="Audio file"),
47
+ # gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
48
  ],
49
  outputs="text",
50
  layout="horizontal",