Skip to content

Commit

Permalink
pdm
Browse files Browse the repository at this point in the history
  • Loading branch information
Tohrusky committed Dec 27, 2023
1 parent 2335b46 commit 474c3a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/realesrgan_ncnn_py/realesrgan_ncnn_vulkan.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(self, gpuid: int = 0, tta_mode: bool = False, tilesize: int = 0, mo
self._scale = 2

if self._model > -1:
self.load()
self._load()

self.raw_in_image = None
self.raw_out_image = None
Expand All @@ -74,7 +74,7 @@ def _set_parameters(self) -> None:
"""
self._realesrgan_object.set_parameters(self._tilesize, self._scale)

def load(
def _load(
self, param_path: Optional[pathlib.Path] = None, model_path: Optional[pathlib.Path] = None, scale: int = 0
) -> None:
"""
Expand Down

0 comments on commit 474c3a3

Please sign in to comment.