mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 06:10:50 +08:00
lint: Remove whitespace from blank line
This commit is contained in:
parent
067f88d9af
commit
14700174a5
@ -49,10 +49,10 @@ class ImageUpscaleWithModel:
|
||||
|
||||
def upscale(self, upscale_model, image):
|
||||
device = model_management.get_torch_device()
|
||||
|
||||
|
||||
tile = 512
|
||||
overlap = 32
|
||||
|
||||
|
||||
memory_required = model_management.module_size(upscale_model.model)
|
||||
memory_required += (tile * tile * 3) * image.element_size() * max(upscale_model.scale, 1.0) * 384.0 #The 384.0 is an estimate of how much some of these models take, TODO: make it more accurate
|
||||
memory_required += image.nelement() * image.element_size()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user