From 364789793deb1c35765f528b629bdb739dd30271 Mon Sep 17 00:00:00 2001 From: soaska <79996669747@ya.ru> Date: Wed, 6 Mar 2024 23:11:53 +0300 Subject: [PATCH] fp_mobile now is for lightning, hi res by default. Add negative by yourself --- bot.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/bot.py b/bot.py index c843002..ea15ca0 100644 --- a/bot.py +++ b/bot.py @@ -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",