Spaces:
Running
on
Zero
Running
on
Zero
Update whisper.py
Browse files- whisper.py +1 -1
whisper.py
CHANGED
|
@@ -225,6 +225,6 @@ def generate(audio_path, use_v5):
|
|
| 225 |
task = "transcribe"
|
| 226 |
output = transcribe_pipeline(format_audio(audio_path), task)
|
| 227 |
|
| 228 |
-
clean_output = post_process_transcription(output
|
| 229 |
|
| 230 |
return clean_output
|
|
|
|
| 225 |
task = "transcribe"
|
| 226 |
output = transcribe_pipeline(format_audio(audio_path), task)
|
| 227 |
|
| 228 |
+
clean_output = post_process_transcription(output)
|
| 229 |
|
| 230 |
return clean_output
|