pierrelf commited on
Commit
e236aca
·
1 Parent(s): 56a58c1

Update model in app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
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"]
 
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"]