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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
 
2
 
3
- whisper = gr.load("models/openai/whisper-small")
 
4
 
5
  def transcribe(audio):
6
  return whisper(audio)
 
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)