Skip to content

Commit

Permalink
v3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BBC-Esq authored Dec 28, 2023
1 parent 9cea242 commit 52f706f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui_tabs_tools_transcribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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', '')
Expand Down

0 comments on commit 52f706f

Please sign in to comment.