lllyasviel / lllyasviel/stable-diffusion-webui-forge

UI defaults are overwritten by other process

Open
#2,819 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

The webui provides settings to override default values of the elements in the UI. However, this does not seem to work.

I can change a value like the Width in the txt2img tab, to a value such as `896` and apply this in Settings > Defaults. This will write a change to ui-config.json. However, if I restart the UI after this I can only see the correct value being applied for about 0.2 seconds, and then it gets reset to the default value of `512`. So it seems that something else is overwriting the values in `ui-config.json`.

What could be the cause of this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the web UI: set the txt2img Width to 896 under Settings > Defaults, confirm the change in ui-config.json, and restart the UI. Trace where ui-config.json is read and where the txt2img Width is initialized or reset, then verify that the saved value remains applied after startup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.