Spaces:
Sleeping
Sleeping
Martin Bär
commited on
Commit
·
274ab1c
1
Parent(s):
df341b9
Remove 'language' arg from whisper
Browse files- multimodality_tools.py +1 -1
multimodality_tools.py
CHANGED
@@ -27,7 +27,7 @@ def transcribe_audio(file_id: str) -> str:
|
|
27 |
|
28 |
asr = pipeline("automatic-speech-recognition", model="openai/whisper-tiny")
|
29 |
|
30 |
-
output = asr(audio
|
31 |
|
32 |
return output["text"].strip()
|
33 |
|
|
|
27 |
|
28 |
asr = pipeline("automatic-speech-recognition", model="openai/whisper-tiny")
|
29 |
|
30 |
+
output = asr(audio)
|
31 |
|
32 |
return output["text"].strip()
|
33 |
|