Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
|
|
5 |
import os
|
6 |
from gtts import gTTS
|
7 |
|
8 |
-
pipe = pipeline(model="
|
9 |
|
10 |
def transcribe_audio(audio,language):
|
11 |
transcribed = pipe(audio)["text"]
|
|
|
5 |
import os
|
6 |
from gtts import gTTS
|
7 |
|
8 |
+
pipe = pipeline(model="freeja/lab2-whisper-sv")
|
9 |
|
10 |
def transcribe_audio(audio,language):
|
11 |
transcribed = pipe(audio)["text"]
|