AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.14k stars 26.97k forks source link

[Bug]: Unable to change settings to Image generation via api use #11148

Open NarksClueless opened 1 year ago

NarksClueless commented 1 year ago

Is there an existing issue for this?

What happened?

Been using a bot to let friends on discord generate images using my PC, recently i've been unable to get changes i make to image generation to actually apply and it's stuck using old settings. I've rebuilt the bot completely and used another person's bot and the issues persist so i can only assume it's with automatic1111.

image

Pic above is how i change the settings, when i check "http://localhost:7860/sdapi/v1/options" it shows that it's using old settings. The only things i've been able to change are things that use the webui so the main model and vae etc.

I'm not sure when this happened, i hadn't started the bot in over a week and suddenly this was an issue.

I've no clue what really is going on so im not that capable when it comes to properly explaining the issue im sorry.

Steps to reproduce the problem

  1. change settings in the bot (i.e. width, height)
  2. generate image
  3. it makes an image using old settings?

What should have happened?

it should use the new settings i've given it.

Commit where the problem happens

version: v1.3.2  •  python: 3.10.6  •  torch: 2.0.1+cu118  •  xformers: 0.0.17  •  gradio: 3.32.0  •  checkpoint: 9ab09a2107

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

--api --xformers

List of extensions

image

Console logs

C:\Users\lynco\Desktop\Stable-Diffusion\stable-diffusion-webui>git pull
Already up to date.

C:\Users\lynco\Desktop\Stable-Diffusion\stable-diffusion-webui>pause
Press any key to continue . . .
venv "C:\Users\lynco\Desktop\Stable-Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.3.2
Commit hash: baf6946e06249c5af9851c60171692c44ef633e0
Installing requirements
Launching Web UI with arguments: --api --xformers
Loading weights [4af4c0b88e] from C:\Users\lynco\Desktop\Stable-Diffusion\stable-diffusion-webui\models\Stable-diffusion\breakdomainrealistic_M2050.safetensors
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 10.9s (import torch: 4.7s, import gradio: 0.8s, import ldm: 0.6s, other imports: 1.0s, list SD models: 0.2s, load scripts: 2.0s, scripts before_ui_callback: 0.1s, create ui: 0.4s, gradio launch: 0.9s).
Creating model from config: C:\Users\lynco\Desktop\Stable-Diffusion\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: C:\Users\lynco\Desktop\Stable-Diffusion\stable-diffusion-webui\models\VAE\kl-f8-anime2.ckpt
Applying optimization: xformers... done.

Additional information

No response

OfficiallyCrazy commented 5 months ago

I am having the same issue