charliebaby2023 commited on
Commit
004d975
·
verified ·
1 Parent(s): 208ff55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,8 +1,6 @@
1
  import gradio as gr
2
- #from transformers import pipeline
3
 
4
- #pipe = pipeline("automatic-speech-recognition", model="openai/whisper-small")
5
- whisper = gr.load("openai/whisper-small")
6
 
7
  def transcribe(audio):
8
  return whisper(audio)
 
1
  import gradio as gr
 
2
 
3
+ whisper = gr.load("models/openai/whisper-small")
 
4
 
5
  def transcribe(audio):
6
  return whisper(audio)