From 5a07e07e00fcacf008aa5e685a423f667c0259bb Mon Sep 17 00:00:00 2001 From: bghira Date: Fri, 7 Jul 2023 17:23:35 -0700 Subject: [PATCH] Add more info --- discord_tron_client/message/discord.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/discord_tron_client/message/discord.py b/discord_tron_client/message/discord.py index 994ab27d..37414bfe 100644 --- a/discord_tron_client/message/discord.py +++ b/discord_tron_client/message/discord.py @@ -96,8 +96,9 @@ def print_prompt(payload, execute_duration = "unknown"): negative_aesthetic_score = str(user_config.get('negative_aesthetic_score')) if "refiner_strength" in user_config: refiner_strength = str(user_config.get('refiner_strength')) + guidance_rescale = user_config.get("guidance_rescale") if latent_refiner == "On": - latent_refiner = f"{latent_refiner}, **Strength**: {refiner_strength}, **Steps**: {refiner_steps}, **Guidance**: {refiner_guidance}, **Aesthetic Score**: {aesthetic_score}, **Negative Aesthetic Score**: {negative_aesthetic_score}" + latent_refiner = f"{latent_refiner}, **refiner_strength**: {refiner_strength}, **refiner_steps**: {refiner_steps}, **refiner_guidance**: {refiner_guidance}, **aesthetic_score**: {aesthetic_score}, **negative_aesthetic_score**: {negative_aesthetic_score}" if model_id == "ptx0/s1" and latent_refiner == "Off": model_id = "SDXL Base" elif model_id == "ptx0/s1" and latent_refiner != "Off": @@ -107,7 +108,7 @@ def print_prompt(payload, execute_duration = "unknown"): vmem = int(system_hw["video_memory_amount"]) return ( f"**<@{author_id}>'s Prompt**: {prompt}\n" - f"**Seed**: `!seed {seed}`, **Guidance**: {user_config['guidance_scaling']}, **Steps**: `!steps {steps}`, **Strength (img2img)**: {strength}\n" + f"**Seed**: `!seed {seed}`, **!guidance** {user_config['guidance_scaling']}, **!settings guidance_rescale** {guidance_rescale}, **!steps** {steps}`, **!settings strength** {strength}\n" f"**Model**: `{model_id}`, **SDXL Refiner**: {latent_refiner}\n" f"**Resolution**: " + str(resolution["width"])