Skip to content

IllusionDiffusion Colab - More options #8

Description

@kubinka0505

Could the following options be implemented into the following sections?

Argument parser:

  1. 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

  1. 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.
    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"
    )

  2. 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 #@params and writing a wrapper using the json 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions