Chris Bracegirdle commited on
Commit
32fff0c
1 Parent(s): bf16350
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -2
app.py CHANGED
@@ -43,8 +43,8 @@ demo = gr.Blocks()
43
  file_transcribe = gr.Interface(
44
  fn=transcribe,
45
  inputs=[
46
- gr.inputs.Audio(source="upload", type="filepath", optional=True, label="Audio file"),
47
- gr.inputs.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(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",
requirements.txt CHANGED
@@ -1,4 +1,3 @@
1
  git+https://github.com/huggingface/transformers.git
2
  torch
3
- librosa
4
- gradio==3.50
 
1
  git+https://github.com/huggingface/transformers.git
2
  torch
3
+ librosa