From 0bcfb262dc452ee2033c1a25c70135c620142c82 Mon Sep 17 00:00:00 2001 From: William Jin Date: Mon, 6 Oct 2025 18:06:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BE=93=E5=87=BA=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chyoso_toolkit_ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chyoso_toolkit_ui.py b/chyoso_toolkit_ui.py index 950ec5f..3d604e6 100644 --- a/chyoso_toolkit_ui.py +++ b/chyoso_toolkit_ui.py @@ -27,10 +27,10 @@ def convert_to_wav(audio_file): def transcribe_audio(wav_file, original_filename, offset_time, duration_time): - output_dir = "/home/tmfc/apps/chyoso-toolkit" + output_dir = "/home/tmfc/apps/chyoso-toolkit/whisper_output/" # 调用 whisper 命令行程序进行转写 whisper_cmd = [ - "/home/tmfc/apps/whisper/.venv/bin/whisper/", + "/home/tmfc/apps/whisper/.venv/bin/whisper", "--language", "zh", "--output_dir", output_dir, "--output_format", "txt",