Switch sampler

This commit is contained in:
Luke Robles 2023-09-14 12:03:30 -07:00
parent a0e6b9bd4b
commit c701d6fac7
2 changed files with 6 additions and 4 deletions

View File

@ -44,9 +44,10 @@ class StableDiffusion(commands.Cog):
if ctx.author.id == core_utils.my_id:
ip = "192.168.1.19"
steps = 120
if "lora" not in positive_prompt:
positive_prompt = (
positive_prompt
+ " <lora:add_detail:0.3> <lora:bimbostyleThreeU:0.4> <lora:gigatitums:0.4> <lora:more_details:0.3>"
+ " <lora:bimbostyleThreeU:0.3> <lora:gigatitums:0.3> <lora:add_detail:1>"
)
enable_upscale = "true"
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

View File

@ -10,6 +10,7 @@ async def generate_image(ip, port, positives, negatives, steps, enable_upscale):
json_data = {
"prompt": positives,
"negative_prompt": negatives,
"sampler_name": "DPM++ 2M SDE Karras",
"steps": steps,
"enable_hr": enable_upscale,
"hr_upscaler": "Latent",