From 9ccff3131e8e0d6dfd9401b874584b890708ec5a Mon Sep 17 00:00:00 2001 From: haixuanTao Date: Sat, 31 Aug 2024 14:23:36 +0200 Subject: [PATCH] Remove minor typo in dora-distil-whisper --- node-hub/dora-distil-whisper/dora_distil_whisper/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/node-hub/dora-distil-whisper/dora_distil_whisper/main.py b/node-hub/dora-distil-whisper/dora_distil_whisper/main.py index 135f8527..68cc3a20 100644 --- a/node-hub/dora-distil-whisper/dora_distil_whisper/main.py +++ b/node-hub/dora-distil-whisper/dora_distil_whisper/main.py @@ -27,7 +27,6 @@ pipe = pipeline( max_new_tokens=128, torch_dtype=torch_dtype, device=device, - generate_kwargs={"language": "chinese"}, )