Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ pipe = pipeline(model="freeja/lab2-whisper-sv")
|
|
9 |
|
10 |
def transcribe_audio(audio,language):
|
11 |
transcribed = pipe(audio)["text"]
|
12 |
-
print(transcribed)
|
13 |
result = "Transcribed text\n"
|
14 |
result += transcribed + "\n"
|
15 |
result += "Translated text\n"
|
|
|
9 |
|
10 |
def transcribe_audio(audio,language):
|
11 |
transcribed = pipe(audio)["text"]
|
|
|
12 |
result = "Transcribed text\n"
|
13 |
result += transcribed + "\n"
|
14 |
result += "Translated text\n"
|