OzzyGT HF staff commited on
Commit
d670e90
1 Parent(s): 383c5b7

tiling lowered to 1024

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=2048, tile_height=2048)
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