Skip to content

Commit

Permalink
Update pandrator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszliniewicz authored Sep 28, 2024
1 parent 9b0f0cc commit 06d759f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1209,8 +1209,8 @@ def only_transcribe(self):
# Transcription using the WAV file
output_srt = os.path.join(session_dir, f"{video_filename}.srt")
whisperx_command = [
"python",
"-m", "whisperx", # Use -m to run whisperx as a module
"../conda/Scripts/conda.exe", "run", "-n", "whisperx_installer",
"python", "-m", "whisperx",
wav_file,
"--model", self.whisperx_model.get(),
"--language", self.whisperx_language.get(),
Expand Down

0 comments on commit 06d759f

Please sign in to comment.