Spaces:
Running
on
Zero
Running
on
Zero
File size: 2,155 Bytes
3a37af7 2b1dd73 5b913de 630904b 884bb4f 74d06eb 3a37af7 884bb4f 630904b 7b7018c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# Default value
DEFAULT_STEPS = 23
DEFAULT_CFG = 0
MINIMUM_IMAGE_NUMBER = 1
MAXIMUM_IMAGE_NUMBER = 10
DEFAULT_POSITIVE_PROMPT = """1girl, serious, cocky, sporty, basketball jersey, lakers, basketball, half body,
(basketball court), sweaty, dribble, high detailed, sunny, day light,
score_9, score_8_up, score_7_up, very aesthetic,
layered, white hair, featuring soft waves and a slight outward curl at the ends,
parted in the middle, (short hair),
red glowing eyes, beautiful hazel red eyes, highly detailed eyes, thin eyebrows,
detailed black eyebrows,
long eyelashes,
detailed kornea,
fisheye,
blush,
parted lips, gorgeous lips, pink thin lips,
perfect anatomy,
five fingers,
two hands,
short girl, narrow body, detailed face, petite, ((naval)),
"""
DEFAULT_NEGATIVE_PROMPT = """(EasyNegative:1.05), easynegative, bad_prompt_version2, (poorly rendered), ugly, disfigured,
cross eyed, cloned face, bad symmetry, bad anatomy, low quality, blurry, text, watermark, logo,
signature, jpeg, artifacts, monochrome, paintings, oil, (hands:1.15), European Woman, woman,
noise, dark skin, (3d), By bad artist -neg,bhands-neg, canvas frame, (badly drawn), (badly painted),
"""
task_stablepy: dict = {
'txt2img': 'txt2img',
'img2img': 'img2img',
'inpaint': 'inpaint',
# 'canny T2I Adapter': 'sdxl_canny_t2i', # NO HAVE STEP CALLBACK PARAMETERS SO NOT WORKS WITH DIFFUSERS 0.29.0
# 'sketch T2I Adapter': 'sdxl_sketch_t2i',
# 'lineart T2I Adapter': 'sdxl_lineart_t2i',
# 'depth-midas T2I Adapter': 'sdxl_depth-midas_t2i',
# 'openpose T2I Adapter': 'sdxl_openpose_t2i',
'openpose ControlNet': 'openpose',
'canny ControlNet': 'canny',
'mlsd ControlNet': 'mlsd',
'scribble ControlNet': 'scribble',
'softedge ControlNet': 'softedge',
'segmentation ControlNet': 'segmentation',
'depth ControlNet': 'depth',
'normalbae ControlNet': 'normalbae',
'lineart ControlNet': 'lineart',
# 'lineart_anime ControlNet': 'lineart_anime',
'shuffle ControlNet': 'shuffle',
'ip2p ControlNet': 'ip2p',
'optical pattern ControlNet': 'pattern',
'tile realistic': 'sdxl_tile_realistic',
}
|