SD plugin update SD, disble YT preview for music room

This commit is contained in:
2024-03-03 13:51:41 -07:00
parent 4ef6f3beb7
commit 5d6ad98303
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ async def handle_command(room, message, bot, prefix, config):
r = response.json()
# Slugify the prompt
prompt_slug = (prompt)
prompt_slug = prompt[:120]
# Construct filename
filename = f"{prompt_slug}_{args.steps}_{args.h}x{args.w}_{sampler_name}_{args.cfg}.jpg"