credit parlance-zz as they requested it

This commit is contained in:
C43H66N12O12S2 2022-09-22 23:44:22 +03:00 committed by AUTOMATIC1111
parent e16b9dc819
commit 19fc3e8279

View File

@ -11,7 +11,7 @@ from modules import images, processing, devices
from modules.processing import Processed, process_images from modules.processing import Processed, process_images
from modules.shared import opts, cmd_opts, state from modules.shared import opts, cmd_opts, state
# https://github.com/parlance-zz/g-diffuser-bot
def expand(x, dir, amount, power=0.75): def expand(x, dir, amount, power=0.75):
is_left = dir == 3 is_left = dir == 3
is_right = dir == 1 is_right = dir == 1