From b6dcea19d980f7ca36c2c6bee1b51e024a233d6b Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Thu, 16 Nov 2023 08:15:10 +0900 Subject: [PATCH] fix: `disable_gpu_opencv` is True --- modules/impact/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/impact/config.py b/modules/impact/config.py index 73b4544..ca0fb2e 100644 --- a/modules/impact/config.py +++ b/modules/impact/config.py @@ -2,7 +2,7 @@ import configparser import os -version = "V4.30.7" +version = "V4.30.8" dependency_version = 17 @@ -40,7 +40,7 @@ def read_config(): 'sam_editor_cpu': default_conf['sam_editor_cpu'].lower() == 'true' if 'sam_editor_cpu' in default_conf else False, 'sam_editor_model': 'sam_vit_b_01ec64.pth', 'custom_wildcards': default_conf['custom_wildcards'] if 'custom_wildcards' in default_conf else os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "custom_wildcards")), - 'disable_gpu_opencv': default_conf['disable_gpu_opencv'].lower() == 'true' if 'disable_gpu_opencv' in default_conf else False + 'disable_gpu_opencv': default_conf['disable_gpu_opencv'].lower() == 'true' if 'disable_gpu_opencv' in default_conf else True } except Exception: @@ -50,7 +50,7 @@ def read_config(): 'sam_editor_cpu': False, 'sam_editor_model': 'sam_vit_b_01ec64.pth', 'custom_wildcards': os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "custom_wildcards")), - 'disable_gpu_opencv': False + 'disable_gpu_opencv': True }