Spaces:
Sleeping
Sleeping
Commit
·
c5532b4
1
Parent(s):
2fe462f
makes the model wait for 5 secs before transcription
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def transcribe_audio(audio_file):
|
|
32 |
transcription = asr_model.transcribe_file(temp_audio_path)
|
33 |
|
34 |
# Clean up temporary files (optional)
|
35 |
-
os.remove(temp_audio_path)
|
36 |
|
37 |
return transcription
|
38 |
|
|
|
32 |
transcription = asr_model.transcribe_file(temp_audio_path)
|
33 |
|
34 |
# Clean up temporary files (optional)
|
35 |
+
# os.remove(temp_audio_path)
|
36 |
|
37 |
return transcription
|
38 |
|