Skip to content

Commit 52f706f

Browse files
authored
v3.0.1
1 parent 9cea242 commit 52f706f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gui_tabs_tools_transcribe.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ def __init__(self):
1616
self.config = self.read_config()
1717

1818
compute_device_config = self.config.get('Compute_Device', {}) or {}
19-
self.gpu_brand = compute_device_config.get('gpu_brand', '').lower()
19+
gpu_brand = compute_device_config.get('gpu_brand', '')
20+
self.gpu_brand = gpu_brand.lower() if gpu_brand is not None else ''
2021

2122
self.default_device = self.config.get('transcribe_file', {}).get('device', 'cpu').lower()
2223
self.default_quant = self.config.get('transcribe_file', {}).get('quant', '')

0 commit comments

Comments
 (0)