Skip to content

Commit

Permalink
Add more info
Browse files Browse the repository at this point in the history
  • Loading branch information
bghira committed Jul 8, 2023
1 parent ebe6e2c commit fe104a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord_tron_client/message/discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def print_prompt(payload, execute_duration = "unknown"):
refiner_strength = str(user_config.get('refiner_strength'))
guidance_rescale = user_config.get("guidance_rescale")
if latent_refiner == "On":
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}"
latent_refiner = f"{latent_refiner}, `!settings refiner_strength {refiner_strength}`, `!settings refiner_steps {refiner_steps}`, `!settings refiner_guidance {refiner_guidance}`, `!settings aesthetic_score {aesthetic_score}`, `!settings 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":
Expand All @@ -109,7 +109,7 @@ def print_prompt(payload, execute_duration = "unknown"):
return (
f"**<@{author_id}>'s Prompt**: {prompt}\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}`"
f"**Model**: `{model_id}`\n"
f"**SDXL Refiner**: {latent_refiner}\n"
f"**Resolution**: "
+ str(resolution["width"])
Expand Down

0 comments on commit fe104a4

Please sign in to comment.