akash-43 commited on
Commit
0592306
·
verified ·
1 Parent(s): 87fa56c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load the Automatic Speech Recognition (ASR) model for Finnish
5
- asr_model = pipeline("automatic-speech-recognition", model="openai/whisper-small",task="transcribe")
6
 
7
  # Load the translation model for Finnish to English
8
  translator = pipeline("translation", model="Helsinki-NLP/opus-mt-fi-en")
 
2
  from transformers import pipeline
3
 
4
  # Load the Automatic Speech Recognition (ASR) model for Finnish
5
+ asr_model = pipeline("automatic-speech-recognition", model="openai/whisper-small")
6
 
7
  # Load the translation model for Finnish to English
8
  translator = pipeline("translation", model="Helsinki-NLP/opus-mt-fi-en")