Skip to content

Commit

Permalink
Removing post processing on uls downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
raivisdejus committed Oct 11, 2024
1 parent 3b76b42 commit bb800dc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions buzz/transcriber/file_transcriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ def run(self):
"format": "wav/bestaudio/best",
"progress_hooks": [self.on_download_progress],
"outtmpl": temp_output_path,
"postprocessors": [
{
"key": "FFmpegExtractAudio",
"preferredcodec": "wav",
}
],
}
)

Expand All @@ -55,7 +49,7 @@ def run(self):
self.error.emit(exc.msg)
return

self.transcription_task.file_path = temp_output_path + ".wav"
self.transcription_task.file_path = temp_output_path
logging.debug(f"Downloaded audio to file: {self.transcription_task.file_path}")

try:
Expand Down

0 comments on commit bb800dc

Please sign in to comment.