fp_mobile now is for lightning, hi res by default. Add negative by yourself
All checks were successful
Actions Build Docker Image / Build-Docker (push) Successful in 25s

This commit is contained in:
soaska 2024-03-06 23:11:53 +03:00
parent 37dade2c0a
commit 364789793d

15
bot.py
View File

@ -801,13 +801,16 @@ async def inl_fp(message: Union[types.Message, types.CallbackQuery]) -> None:
"use_prompt": "true",
"json_prompt": "false"}
if m == 'fp_mobile':
data['steps'] = 15
data['enable_hr'] = 'false'
data['cfg_scale'] = '6'
data['width'] = '512'
data['height'] = '768'
data['steps'] = 5
data['enable_hr'] = 'True'
data['denoising_strength'] = '0.35'
data['hr_upscaler'] = '4x_NMKD-Siax_200k' #https://huggingface.co/uwg/upscaler/blob/main/ESRGAN/4x_NMKD-Siax_200k.pth
data['hr_second_pass_steps'] = '2'
data['cfg_scale'] = '1.6'
data['width'] = '832'
data['height'] = '1216'
data['do_not_save_grid'] = 'true'
data['negative_prompt'] = 'easynegative, bad-hands-5, bad-picture-chill-75v, bad-artist, bad_prompt_version2, rmadanegative4_sd15-neg, bad-image-v2-39000, illustration, painting, cartoons, sketch, (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, bad hands, ((monochrome)), ((grayscale)), collapsed eyeshadow, multiple eyeblows, vaginas in breasts, (cropped), oversaturated, extra limb, missing limbs, deformed hands, long neck, long body, imperfect, (bad hands), signature, watermark, username, artist name, conjoined fingers, deformed fingers, ugly eyes, imperfect eyes, skewed eyes, unnatural face, unnatural body, error, asian, obese, tatoo, stacked torsos, totem pole, watermark, black and white, close up, cartoon, 3d, denim, (disfigured), (deformed), (poorly drawn), (extra limbs), blurry, boring, sketch, lackluster, signature, letters'
data['negative_prompt'] = ''
data['save_images'] = 'true'
dataParams = {"img_thumb": "true",
"img_tg": "false",