Skip to content

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
xinntao committed Sep 16, 2022
1 parent bc5a5de commit 2f46d95
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cog_predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ def setup(self):
self.current_version = 'v1.4'

def predict(
self,
img: Path = Input(description='Input'),
version: str = Input(
description='GFPGAN version. v1.3: better quality. v1.4: more details and better identity.',
choices=['v1.2', 'v1.3', 'v1.4', 'RestoreFormer'],
default='v1.4'),
scale: float = Input(description='Rescaling factor', default=2),
self,
img: Path = Input(description='Input'),
version: str = Input(
description='GFPGAN version. v1.3: better quality. v1.4: more details and better identity.',
choices=['v1.2', 'v1.3', 'v1.4', 'RestoreFormer'],
default='v1.4'),
scale: float = Input(description='Rescaling factor', default=2),
) -> Path:
weight = 0.5
print(img, version, scale, weight)
Expand Down

0 comments on commit 2f46d95

Please sign in to comment.