changed default number of threads to 1

This commit is contained in:
k4yt3x 2020-02-21 23:16:22 -05:00
parent 5db2cfd2a3
commit 78ded08ed5

View File

@ -65,7 +65,7 @@ class Upscaler:
self.scale_height = None self.scale_height = None
self.scale_ratio = None self.scale_ratio = None
self.model_dir = None self.model_dir = None
self.threads = 5 self.threads = 1
self.video2x_cache_directory = pathlib.Path(tempfile.gettempdir()) / 'video2x' self.video2x_cache_directory = pathlib.Path(tempfile.gettempdir()) / 'video2x'
self.image_format = 'png' self.image_format = 'png'
self.preserve_frames = False self.preserve_frames = False