pierrelf commited on
Commit
2b3e57d
·
1 Parent(s): 2486d26

Co-authored-by: Emil Karlsson <[email protected]>

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
- pipe = pipeline(model="pierrelf/whisper-small-sv") # change to "your-username/the-name-you-picked"
 
5
 
6
  def transcribe(audio):
7
  text = pipe(audio)["text"]
 
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
+ pipe = pipeline(model="openai/whisper-small")
5
+ # pipe = pipeline(model="pierrelf/whisper-small-sv") # change to "your-username/the-name-you-picked"
6
 
7
  def transcribe(audio):
8
  text = pipe(audio)["text"]