AndrewRWilliams commited on
Commit
8582fe6
1 Parent(s): 2397701

change gradio input function

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def transcribe(file):
13
 
14
  iface = gr.Interface(
15
  title = 'OpenAI Whisper ASR Gradio Web UI',
16
- fn=model.transcribe,
17
  inputs=[
18
  gr.inputs.Audio(source="upload", type="filepath", label="Upload Audio")
19
  ],
 
13
 
14
  iface = gr.Interface(
15
  title = 'OpenAI Whisper ASR Gradio Web UI',
16
+ fn=transcribe,
17
  inputs=[
18
  gr.inputs.Audio(source="upload", type="filepath", label="Upload Audio")
19
  ],