Spaces:
Sleeping
Sleeping
commit
Browse files
app.py
CHANGED
@@ -180,7 +180,7 @@ def infer_params(state_dict: dict[str, torch.Tensor]) -> tuple[int, int, int, in
|
|
180 |
return in_nc, out_nc, nf, nb, scale # 3, 3, 64, 23, 4
|
181 |
|
182 |
# https://github.com/philz1337x/clarity-upscaler/blob/e0cd797198d1e0e745400c04d8d1b98ae508c73b/modules/images.py#L64
|
183 |
-
class Grid(
|
184 |
tiles: Tiles
|
185 |
tile_w: int
|
186 |
tile_h: int
|
|
|
180 |
return in_nc, out_nc, nf, nb, scale # 3, 3, 64, 23, 4
|
181 |
|
182 |
# https://github.com/philz1337x/clarity-upscaler/blob/e0cd797198d1e0e745400c04d8d1b98ae508c73b/modules/images.py#L64
|
183 |
+
class Grid(namedtuple):
|
184 |
tiles: Tiles
|
185 |
tile_w: int
|
186 |
tile_h: int
|