explorall commited on
Commit
db29542
1 Parent(s): 7f112bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -2,8 +2,7 @@ from transformers import pipeline
2
  import gradio as gr
3
  from pytube import YouTube
4
 
5
- #transcription_pipe = pipeline(model="explorall/whisper-small-sv-dropout-6mb")
6
- transcription_pipe = pipeline(model="explorall/whisper-small-test-sv")
7
  translation_pipe = pipeline(model="Helsinki-NLP/opus-mt-sv-en")
8
 
9
  def transcribe_and_translate(audio):
 
2
  import gradio as gr
3
  from pytube import YouTube
4
 
5
+ transcription_pipe = pipeline(model="explorall/whisper-small-sv-dropout-6mb")
 
6
  translation_pipe = pipeline(model="Helsinki-NLP/opus-mt-sv-en")
7
 
8
  def transcribe_and_translate(audio):