-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Could the following options be implemented into the following sections?
Argument parser:
- All settings in the
Settings
tab

This image can be interpreted as:
!python src/app.py --share --model "monster-labs/control_v1p_sd15_qrcode_monster" \
--default-stable-diffusion-model "runwayml/stable-diffusion-v1-5" \
--output-directory "/content/diffusionmagic/results" \
--output-format png \
--save-separated --enable-low-vram
!python src/app.py -s -m "monster-labs/control_v1p_sd15_qrcode_monster" \
-dsdm "runwayml/stable-diffusion-v1-5" \
-o "/content/diffusionmagic/results" \
-f png \
-ss -lvram
Gradio Web UI
- Image height and width
I have seen the lines responsible for it in the other files, but I don't see them implemented in the IllusionDiffusion notebook.
diffusionmagic/src/frontend/web/image_inpainting_ui.py
Lines 43 to 48 in 7b0571e
image_height = gr.Slider( 512, 2048, value=512, step=64, label="Image Height" ) image_width = gr.Slider( 512, 2048, value=512, step=64, label="Image Width" ) - Importing options from the
json
files.
Original SD webui notebook had this feature and in my opinion it would increase workflow.
Even in Colab, user could change settings by#@param
s and writing a wrapper using thejson
module.

This image can be interpreted as:
{
"prompt": {
"positive": "",
"negative": "low quality,bad, deformed, ugly, bad anatomy"
},
"quality": {
"inference_steps": 20,
"guidance_scale": 7.5,
"sampler": "EulerAncestralDiscrete"
},
"seed": {
"value": -1,
"use_random": true
},
"controlnet": {
"start": 0.0,
"end": 1.0
}
}
I would love to see these changes coming in - I could make a fork, edit and then do a pull request, but there are several files in with the similiar content listed in the src/frontend/web
directory.
Metadata
Metadata
Assignees
Labels
No labels