Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def main():
|
|
85 |
|
86 |
if wav_audio_data is not None:
|
87 |
with open("query.wav", "wb") as f:
|
88 |
-
f.write(wav_audio_data
|
89 |
|
90 |
model = whisper.load_model("large")
|
91 |
result = model.transcribe("query.wav", language="en", fp16=False)
|
|
|
85 |
|
86 |
if wav_audio_data is not None:
|
87 |
with open("query.wav", "wb") as f:
|
88 |
+
f.write(wav_audio_data)
|
89 |
|
90 |
model = whisper.load_model("large")
|
91 |
result = model.transcribe("query.wav", language="en", fp16=False)
|