Spaces:
Running
Running
Commit
·
4cee811
1
Parent(s):
d308880
fix typo, groq audio again
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def transcribe_audio(audio_file):
|
|
44 |
# raw_transcription = " ".join(segment.text for segment in segments)
|
45 |
with open(audio_file, "rb") as file:
|
46 |
res = gclient.audio.transcriptions.create(
|
47 |
-
file=(audio_file,
|
48 |
model="whisper-large-v3-turbo",
|
49 |
language="id",
|
50 |
)
|
|
|
44 |
# raw_transcription = " ".join(segment.text for segment in segments)
|
45 |
with open(audio_file, "rb") as file:
|
46 |
res = gclient.audio.transcriptions.create(
|
47 |
+
file=(audio_file, file.read()),
|
48 |
model="whisper-large-v3-turbo",
|
49 |
language="id",
|
50 |
)
|