mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-01-01 10:29:09 +00:00
changed default number of threads to 1
This commit is contained in:
parent
5db2cfd2a3
commit
78ded08ed5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user