Spaces:
Runtime error
Runtime error
Update settings.py
Browse files- settings.py +2 -2
settings.py
CHANGED
@@ -33,8 +33,8 @@ class Settings:
|
|
33 |
self.live_cam_start_active = self.default_get(data, 'live_cam_start_active', False)
|
34 |
self.max_threads = self.default_get(data, 'max_threads', 2)
|
35 |
self.memory_limit = self.default_get(data, 'memory_limit', 0)
|
36 |
-
self.provider = self.default_get(data, 'provider', '
|
37 |
-
self.force_cpu = self.default_get(data, 'force_cpu',
|
38 |
self.output_template = self.default_get(data, 'output_template', '{file}_{time}')
|
39 |
self.use_os_temp_folder = self.default_get(data, 'use_os_temp_folder', False)
|
40 |
|
|
|
33 |
self.live_cam_start_active = self.default_get(data, 'live_cam_start_active', False)
|
34 |
self.max_threads = self.default_get(data, 'max_threads', 2)
|
35 |
self.memory_limit = self.default_get(data, 'memory_limit', 0)
|
36 |
+
self.provider = self.default_get(data, 'provider', 'cpu')
|
37 |
+
self.force_cpu = self.default_get(data, 'force_cpu', True)
|
38 |
self.output_template = self.default_get(data, 'output_template', '{file}_{time}')
|
39 |
self.use_os_temp_folder = self.default_get(data, 'use_os_temp_folder', False)
|
40 |
|