Spaces:
Sleeping
Sleeping
tiling lowered to 1024
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def upscale_image(image, model_selection):
|
|
12 |
original = load_image(image)
|
13 |
|
14 |
upscaler = UpscaleWithModel.from_pretrained(MODELS[model_selection]).to("cuda")
|
15 |
-
image = upscaler(original, tiling=True, tile_width=
|
16 |
|
17 |
return original, image
|
18 |
|
|
|
12 |
original = load_image(image)
|
13 |
|
14 |
upscaler = UpscaleWithModel.from_pretrained(MODELS[model_selection]).to("cuda")
|
15 |
+
image = upscaler(original, tiling=True, tile_width=1024, tile_height=1024)
|
16 |
|
17 |
return original, image
|
18 |
|