-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SD_API UI additions for SD workflow #1006
Conversation
updated the ui to select models hr fix and now is easier to set things directly on Ooga I need to see those vram management, the thing to down_res the preview in chat is not working for me I try fixing it but Idk will add a way to select vaes and loras if I find where to get them from the api
Made a separate button to apply the model it saves time not loading the same model each time you regenerate. I will put all these persistent settings in the same compartment within the row. I don't know if I need to update something, but the VRAM management can't load and unload the checkpoints for me. Also, the Resize preview is not working :(
I changed the name so is easier to see I made a video working with the SD_api https://youtu.be/wenmSXqUDPo I love this thing |
extensions/sd_api_pictures/script.py
Outdated
} | ||
|
||
print(f'Prompting the image generator via the API on {params["address"]}...') | ||
response = requests.post(url=f'{params["address"]}/sdapi/v1/txt2img', json=payload) | ||
response.raise_for_status() | ||
r = response.json() | ||
|
||
# This is broken for me please check where I messed up. I am sorry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wh... what?
extensions/sd_api_pictures/script.py
Outdated
sd_model_checkpoint = gr.Dropdown(label="model", choices=sd_models) | ||
sampler_index = gr.Dropdown(label="sampler", choices=samplers) | ||
|
||
with gr.Accordion("Prompt settigns", open=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo here on settings
and above (325) on Apply
changed sampler name fixed the apply typo
only batch size commented out I am getting duplicates maybe seed-1 and subseed -1 are not passing?
Batch count, Batch size, clip skip, interactive mode SD prompt of command, saves .txt with generation parameter, save stealth info on .png and respects interactive address. stealth info needs https://github.com/ashen-sensored/sd_webui_stealth_pnginfo installed on A1111 webui to work
Updated models, samplers, upscaler hi res fix, denoise strength, minimal changes to the code will add a way to select VAEs and loRas if I find where to get them from the SD_api #batch size is working but I commented out because is duplicating the images, maybe some bug on the seed parameters. https://youtu.be/kAUQ04iNfjI