lshqqytiger / stable-diffusion-webui-amdgpu

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

[Bug]: UI inconsistencies and buttons not functioning #284

Closed DaliaMatsuyama closed 9 months ago

DaliaMatsuyama commented 9 months ago

Is there an existing issue for this?

What happened?

When I attempt to use essential buttons for the functionality of the web UI, a few of the most essential ones do not appear to work correctly.

Notably:

https://i.imgur.com/MJi0NbM.png https://i.imgur.com/YcdWv2Q.png https://i.imgur.com/SOLCNsN.png

Upon further investigation, the browser console is printing the following: VM664:3 Uncaught (in promise) ReferenceError: submit is not defined at Object.eval [as frontend_fn] (eval at <anonymous> (Blocks.svelte:66:25), <anonymous>:3:14) at ke (Blocks.svelte:413:6) eval @ VM664:3 ke @ Blocks.svelte:413 Promise.then (async) ke @ Blocks.svelte:418 await in ke (async) (anonymous) @ Blocks.svelte:598 (anonymous) @ Blocks.svelte:597 dispatch @ gradio_helper.ts:31 w @ StaticButton.svelte:39 (anonymous) @ lifecycle.js:181 xc @ lifecycle.js:181 L @ Button.svelte:16

Steps to reproduce the problem

  1. Go to SD web UI
  2. Select a model and process generate
  3. Review console output or results

What should have happened?

Sysinfo

I was unable to use either solution listed in the description for the sysinfo prompt, though have manually exported this through my windows system info panel.

sysinfo.txt

What browsers do you use to access the UI ?

Microsoft Edge

Console logs

venv "E:\..AI\2\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: 1.6.0
Commit hash: 7b0b721837e4e5324d64f4073b64bbd3da0755e7
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [cc6cb27103] from E:\..AI\2\stable-diffusion-webui-directml\models\Stable-diffusion\v1-5-pruned-emaonly.ckpt
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 17.0s (prepare environment: 0.5s, import torch: 4.2s, import gradio: 1.3s, setup paths: 1.1s, import ldm: 0.1s, initialize shared: 5.0s, other imports: 1.6s, setup codeformer: 0.1s, setup gfpgan: 0.1s, load scripts: 1.9s, create ui: 0.5s, gradio launch: 0.4s).
Creating model from config: E:\..AI\2\stable-diffusion-webui-directml\configs\v1-inference.yaml
Applying attention optimization: InvokeAI... done.
Model loaded in 10.5s (load weights from disk: 3.0s, create model: 0.4s, apply weights to model: 6.3s, apply half(): 0.7s, calculate empty prompt: 0.1s).

Additional information

No response

DaliaMatsuyama commented 9 months ago

Fixed:

It's because my file path had a dot in it.

So changing E:\.AI\ to E:\AI\ fixed it.