From 06d759fcbe187bdd5a2b161945691325a4f40c6f Mon Sep 17 00:00:00 2001 From: Lukasz Liniewicz <75737665+lukaszliniewicz@users.noreply.github.com> Date: Sat, 28 Sep 2024 05:01:57 +0200 Subject: [PATCH] Update pandrator.py --- pandrator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandrator.py b/pandrator.py index dec9497..dca2c17 100644 --- a/pandrator.py +++ b/pandrator.py @@ -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(),