pratham0011 commited on
Commit
907470b
·
verified ·
1 Parent(s): e1df0d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -23,18 +23,6 @@ def transcribe(audio):
23
  result = whisper.decode(model, mel, options)
24
  return result.text
25
 
26
-
27
- # gr.Interface(
28
- # title = 'OpenAI-Whisper Audio to Text Web UI',
29
- # fn=transcribe,
30
- # inputs=[
31
- # gr.inputs.Audio(type="file")
32
- # ],
33
- # outputs=[
34
- # "textbox"
35
- # ],
36
- # live=True).launch()
37
-
38
  gr.Interface(
39
  title="OpenAI-Whisper Audio to Text Web UI",
40
  fn=transcribe,
 
23
  result = whisper.decode(model, mel, options)
24
  return result.text
25
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  gr.Interface(
27
  title="OpenAI-Whisper Audio to Text Web UI",
28
  fn=transcribe,