Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def transcribe_audio(audio):
|
|
84 |
sf.write(temp_audio_path, audio_list, sample_rate)
|
85 |
|
86 |
# Transcribe audio using the canary model
|
87 |
-
predicted_text = canary_model.transcribe(
|
88 |
|
89 |
# Remove the temporary file
|
90 |
|
|
|
84 |
sf.write(temp_audio_path, audio_list, sample_rate)
|
85 |
|
86 |
# Transcribe audio using the canary model
|
87 |
+
predicted_text = canary_model.transcribe(temp_audio_path, batch_size=16)
|
88 |
|
89 |
# Remove the temporary file
|
90 |
|