summaryrefslogtreecommitdiffstats
path: root/Scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts')
-rw-r--r--Scripts/transcribe.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Scripts/transcribe.py b/Scripts/transcribe.py
index a6fbe38..ffebf20 100644
--- a/Scripts/transcribe.py
+++ b/Scripts/transcribe.py
@@ -755,6 +755,7 @@ def transcribeLoop(mic: str,
model = model_root
model = WhisperModel(model,
device = model_device,
+ device_index = gpu_idx,
compute_type = "int8",
download_root = model_root,
local_files_only = download_it)