From 52f706fb066d3f9403b7d6b412c873eec2130abd Mon Sep 17 00:00:00 2001 From: BBC-Esq Date: Wed, 27 Dec 2023 20:24:26 -0500 Subject: [PATCH] v3.0.1 --- src/gui_tabs_tools_transcribe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui_tabs_tools_transcribe.py b/src/gui_tabs_tools_transcribe.py index 7802ad84..7102db4c 100644 --- a/src/gui_tabs_tools_transcribe.py +++ b/src/gui_tabs_tools_transcribe.py @@ -16,7 +16,8 @@ def __init__(self): self.config = self.read_config() compute_device_config = self.config.get('Compute_Device', {}) or {} - self.gpu_brand = compute_device_config.get('gpu_brand', '').lower() + gpu_brand = compute_device_config.get('gpu_brand', '') + self.gpu_brand = gpu_brand.lower() if gpu_brand is not None else '' self.default_device = self.config.get('transcribe_file', {}).get('device', 'cpu').lower() self.default_quant = self.config.get('transcribe_file', {}).get('quant', '')