martenb commited on
Commit
68a600b
·
1 Parent(s): 84494b4

Updated app at mån 4 dec 2023 08:17:06 CET

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
- pipe = pipeline(model="martenb/whisper-small-sv") # change to "your-username/the-name-you-picked"
5
 
6
 
7
  def transcribe(audio):
 
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
+ pipe = pipeline("automatic-speech-recognition", model="martenb/whisper-small-sv")
5
 
6
 
7
  def transcribe(audio):
requirements.txt CHANGED
@@ -1 +1,2 @@
1
- transformers
 
 
1
+ tensorflow
2
+ transformers==4.35.2