camenduru / stable-diffusion-webui-colab

stable diffusion webui colab
The Unlicense
15.46k stars 2.61k forks source link

[Bug]: missing field when generating image #455

Closed SelectOne closed 11 months ago

SelectOne commented 11 months ago

What happened?

When the parameters are filled in and the generate button is clicked, the error is returned;

Payload: {"fn_index":4,"data":["anime girl",50,"k_lms",["Normalize Prompt Weights (ensure sum of weights add up to 1.0)","Save individual images","Save grid","Sort samples by prompt","Write sample info files"],"RealESRGAN_x4plus",0,1,1,7.5,"",512,512,null,0,""],"session_hash":"nz7j4tf9a8r"}

Colab cell output

Response:
{
    "detail": [
        {
            "type": "missing",
            "loc": [
                "body",
                "event_id"
            ],
            "msg": "Field required",
            "input": {
                "fn_index": 4,
                "data": [
                    "anime girl",
                    50,
                    "k_lms",
                    [
                        "Normalize Prompt Weights (ensure sum of weights add up to 1.0)",
                        "Save individual images",
                        "Save grid",
                        "Sort samples by prompt",
                        "Write sample info files"
                    ],
                    "RealESRGAN_x4plus",
                    0,
                    1,
                    1,
                    7.5,
                    "",
                    512,
                    512,
                    null,
                    0,
                    ""
                ],
                "session_hash": "nz7j4tf9a8r"
            },
            "url": "https://errors.pydantic.dev/2.1.2/v/missing"
        }
    ]
}

Which colab and model(s) were you using when the error occurred?

https://github.com/camenduru/stable-diffusion-webui-colab/blob/drive/install.ipynb

Which Public WebUI Colab URL were you using when the error occurred?

gradio.live

If you used HiRes mode when the error occurred, please provide the Hires info

No response

yxzuestc commented 11 months ago

I encounterd the same issue!

camenduru commented 11 months ago

maybe fixed please try again