Skip to content

Commit

Permalink
fix(api): correct name for kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 22, 2023
1 parent 986112e commit 9bff64c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/onnx_web/upscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ def eval(self) -> None:
def half(self):
return self

def load_state_dict(self, _net, _strict=True) -> None:
def load_state_dict(self, net, strict=True) -> None:
pass

def to(self, _device):
def to(self, device):
return self


Expand Down

0 comments on commit 9bff64c

Please sign in to comment.