AUTOMATIC1111 / stable-diffusion-webui

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

Style box still broken. since 3/24/23 update [Bug]: #8929

Closed El7ias closed 1 year ago

El7ias commented 1 year ago

Is there an existing issue for this?

What happened?

Styles display outside of the style box since last update StyleBoxBug

Steps to reproduce the problem

main ui, add 3 + styles in Style box drop down menu be disappointed

What should have happened?

Chosen styles should just stack up / wrap and expand the Style box, you know like in the before times.

Commit where the problem happens

As of git pull 3-24-2023

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox, Google Chrome, Brave, Microsoft Edge

Command Line Arguments

n/a see log below

List of extensions

ControlNet, DreamArtist-sd-webui-extension, depth-image-io-for-SDWebui, depthmap2mask, openOutpaint-webUI-extension,openpose-editor, posex,sd-3dmodel-loader , sd-webui-3d-open-pose-editor,sd-webui-aspect-ratio-helper, sd-webui-controlnet, stable-diffusion-webui-embedding-merge, stable-diffusion-webui-instruct-pix2pix, ultimate-upscale-for-automatic1111

Console logs

remote: Enumerating objects: 257, done.
remote: Counting objects: 100% (218/218), done.
remote: Compressing objects: 100% (105/105), done.
remote: Total 257 (delta 151), reused 159 (delta 113), pack-reused 39Receiving objects:  96% (247/257)
Receiving objects: 100% (257/257), 189.41 KiB | 4.12 MiB/s, done.
Resolving deltas: 100% (155/155), completed with 43 local objects.
From https://github.com/AUTOMATIC1111/stable-diffusion-webui
   275834ca..91ae48fd  master     -> origin/master
Updating 275834ca..91ae48fd
Fast-forward
 .github/workflows/run_tests.yaml |   2 +-
 html/extra-networks-card.html    |   2 +-
 javascript/extraNetworks.js      |   4 +-
 javascript/hints.js              |   9 ++--
 launch.py                        |  79 +++++++++------------------
 modules/api/api.py               |  59 +++++++++++++++++++-
 modules/cmd_args.py              | 102 +++++++++++++++++++++++++++++++++++
 modules/extensions.py            |  17 +++---
 modules/modelloader.py           |   2 +-
 modules/paths.py                 |  11 +---
 modules/paths_internal.py        |  22 ++++++++
 modules/processing.py            |  16 ++++++
 modules/scripts.py               |  10 +++-
 modules/sd_models.py             |  26 +++++++--
 modules/shared.py                | 113 +++++----------------------------------
 modules/ui.py                    |  22 ++++++++
 modules/ui_common.py             |   4 +-
 modules/ui_extensions.py         |  55 ++++++++++++-------
 modules/ui_extra_networks.py     |   7 ++-
 requirements.txt                 |   1 +
 requirements_versions.txt        |   4 +-
 script.js                        |   2 +-
 scripts/img2imgalt.py            |  30 ++++++-----
 scripts/loopback.py              |  95 +++++++++++++++++++++++---------
 scripts/xyz_grid.py              |  22 ++++++--
 style.css                        |   3 ++
 webui.py                         |   6 +++
 27 files changed, 469 insertions(+), 256 deletions(-)
 create mode 100644 modules/cmd_args.py
 create mode 100644 modules/paths_internal.py
venv "C:\Users\el8ia\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)]
Commit hash: 91ae48fd7e20c60d6374f340cac0939f56d87048
Installing requirements for Web UI

Installing requirements for scikit_learn

Launching Web UI with arguments: --api
No module 'xformers'. Proceeding without it.
Loading weights [70e038852f] from C:\Users\el8ia\stable-diffusion-webui\models\Stable-diffusion\Degenerate_chikmixFp32.safetensors
Creating model from config: C:\Users\el8ia\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\el8ia\stable-diffusion-webui\models\VAE\VAE.pt
Applying cross attention optimization (Doggettx).
Error loading embedding animeBondage_bondageShibariV3.pt:
Traceback (most recent call last):
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 210, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 182, in load_from_file
    raise Exception(f"Couldn't identify {filename} as neither textual inversion embedding nor diffuser concept.")
Exception: Couldn't identify animeBondage_bondageShibariV3.pt as neither textual inversion embedding nor diffuser concept.

Error loading embedding epiNoiseoffset_v2.pt:
Traceback (most recent call last):
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 210, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 182, in load_from_file
    raise Exception(f"Couldn't identify {filename} as neither textual inversion embedding nor diffuser concept.")
Exception: Couldn't identify epiNoiseoffset_v2.pt as neither textual inversion embedding nor diffuser concept.

Error loading embedding gothicRPGArtstyle_v1.pt:
Traceback (most recent call last):
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 210, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 182, in load_from_file
    raise Exception(f"Couldn't identify {filename} as neither textual inversion embedding nor diffuser concept.")
Exception: Couldn't identify gothicRPGArtstyle_v1.pt as neither textual inversion embedding nor diffuser concept.

Error loading embedding hardblend_.safetensors:
Traceback (most recent call last):
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 210, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 176, in load_from_file
    assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
AssertionError: embedding file has multiple terms in it

Error loading embedding LuisapOilPainting_v1.pt:
Traceback (most recent call last):
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 210, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 182, in load_from_file
    raise Exception(f"Couldn't identify {filename} as neither textual inversion embedding nor diffuser concept.")
Exception: Couldn't identify LuisapOilPainting_v1.pt as neither textual inversion embedding nor diffuser concept.

Error loading embedding randyStarfru1tArtist_randy10.pt:
Traceback (most recent call last):
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 210, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 182, in load_from_file
    raise Exception(f"Couldn't identify {filename} as neither textual inversion embedding nor diffuser concept.")
Exception: Couldn't identify randyStarfru1tArtist_randy10.pt as neither textual inversion embedding nor diffuser concept.

Error loading embedding sittingPussyPosition_highPrecision.pt:
Traceback (most recent call last):
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 210, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 182, in load_from_file
    raise Exception(f"Couldn't identify {filename} as neither textual inversion embedding nor diffuser concept.")
Exception: Couldn't identify sittingPussyPosition_highPrecision.pt as neither textual inversion embedding nor diffuser concept.

Error loading embedding Vae.vae.pt:
Traceback (most recent call last):
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 210, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "C:\Users\el8ia\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 182, in load_from_file
    raise Exception(f"Couldn't identify {filename} as neither textual inversion embedding nor diffuser concept.")
Exception: Couldn't identify Vae.vae.pt as neither textual inversion embedding nor diffuser concept.

Textual inversion embeddings loaded(255): 1111r31nhart, 1tsj0j0s1wa, 3113fann1ng3, 3mmar0b3rts, 3N1DS1NCL41R , 3nid_14, 3r1nm0r1art72, 3sterexposito, 4ndreab0tez-1850, 512paintstyle3-light, 512speedpainter, a-tale-of-two-empires, ACKass1, advntr, ALATSuckFace, alexandradaddario, alissav10l3t, alivik01-7250, alyhan, ANAT0J3, ang0ur13r1c3, animalve3-1500seq, anjelika, ann4z1, apex-wingman, arcan3, arcane-style-jv, art by mc-mimana10-2300-3500, art by mc-mimana11c-13100, art by mc-mimana25-500, art by mc_mimana2, ashr3sch, atj1, aubreyplazav1-7375, awaitingtongue, B3THH4RM0N, B4R0N, beeez, belledephine, black-and-white-design, blakelively1, blowjobpose, bottomless, brielastnamdsd15, buk1, bukkakAI, cancer_style, caoimhelastnamesd15, cardstyle15, carmrose, carterc, ccentino, celebmix, CharTurnerV2, cherrynobodysd15, corneo_anal, corneo_bound_missionary, corneo_cowgirl, corneo_nipple_rings, corneo_paizuri, corneo_pov_anal, corneo_pov_oral, corneo_runny_makeup, corneo_side_doggy, corneo_spitroast, corneo_tentacle_sex, corychase-940, cristyren, dak0tafann1ng3, dakotaskye, danahamm, dbarrymore-subject, depthmap-style, depthmap, DepthmapStyle, devbrugman, disco elysium, dishonored-portrait-styles, doose-s-realistic-art-style, dpthrt, dualipa, easynegative, ediecamp, elisha, emb-anada, emb-avril, emb-babs, emb-daisy, emb-haiz, emb-jordyn, emb-nuke2, emb-rebecca, emb-rrf-low, emb-rrf2, emb_beautx, EmWat69, evaelfie00, Exodus-Styling, f-22, f15-23t-250, f311c1ada7, facev2, fairyfqr, fenn_charli, Florenc3, follynobodysd15, fr3yaa11an, fr4nc35c4c4p4ld1, frank-frazetta, genbenoist_4t, genbixton_4t, gencohen_4t, genizzyw_4t, genmcnamara_8t, genmiagoth_8t, gentessa_4t, ghst-3000, GITSEllie, gmazzeo, gustavedore, H0GLEGACY, H0GLEGACYv2, Hail33, hoi4, huang-guang-jian, huayecai820-greyscale, indialove, iulje, j0rd7nj0n3s, j3nna0rt3ga, jane-march, jcon-subject, jenny-agutt3r-t2, jubbslineart, juliahart, k13rn4n5h1pk42, ka11m3kr1s, katd3nn1ngs2, kateupton1, katewinslet1, kath3r1n3langf0rd2, kentaro-miura, kim_jung_gi_v1-12500, KirDun69, koh_angelawhite, Koh_SashaGrey, l1vvydunne, leif-jones, lindsaylohan, livtyler-5000, lizdebick1, LOP, lowangleview-3000, luisaringu, m11anava7ntrub, m1ag0th, M1lly4c0k2222, mad31a1n3p3tsch, madd1ez1egler, magicalinterior, MakeItPopVA, maranobodysd15, margot-robbie-subject, mc-mimana5-4000, mew4, michellemylett2, michellerabit, microkini, midjourney-style, milkun, missb0tez, morb4cc4r1n, morfyddclark, n4t4lee, na0mi-watts-t2, nard-style, nataliadyer, natashalyonne1, NewLaraCroftV2, ne_nataliedormer, ohmyfrick_yogapuss, olfn, opt-6000, paradoxical-back-view-bj, pervpulp15, phoebe-wulf, photo of a daisyrey-100, photo of a ja7ba-100, PlanIt, poly-hd, povblowjob3v3, prt, pugh-subject, rcook, realcumAI, red-black, RFKTR_bontrex-150, RFKTR_bontrex, rfktr_bwmnga, rfktr_circrex, RFKTR_rootrex, RFKTR_sinetempore, rileypronstar , roseleslie, RSC, s0ph1ad1mart1n0, S4BR1N422, S4D1S1NK22 , sam-yang, samdoesarts, scarjo-subject, seymjan, simone-s, sintez-ico, SopTurN3v005, spreadassms, stoya-v2, str4h0vski, strah0vsky, Style-Autumn, style-bridal, Style-Empire, Style-Glass, Style-Glorious, Style-Hamunaptra, Style-Info, Style-Italy, Style-Kitchen, style-kotor, Style-Moana, Style-NebMagic, Style-Necromancy, Style-Petal, Style-Princess, Style-Psycho, Style-Renaissance, style-rustmagic, style-sylvamagic, style-widow, sylv1akrist3l-v2-t2, syswe69, tarot512, thelab-ada, tia16, visumm, vmpr, W3DDDN3SD4Y, was-diablo, was-dieselpunk, was-jaeger, was-senua, wholesomegrandpas, wholesomegrannies, yhivi, zauber_vore_hardcore
Textual inversion embeddings skipped(57): 21CharTurnerV2, ActionHelper, anad2, Apoc768, Art by Smoose-22, card-style, Chadeisson, chrshmswrth, Cinema768-Digital, CinemaHelper, classipeint, dangergoose, DaveSpaceFour, dgtl, dgtlv2, DrD_PNTE768, embellish1, embellish2, embellish3, emb_blck_egpt_v4-1000, flonixsdviewv3, GTA768, HorrorByDave, HyperNuke, inksketchcolour1subtle, IpScifi, IpScifiHelper, KittyPic, Lavastyle, laxpeint, laxpeintV2, mdjrny-ppc, milomanara-768-v3, nartfixer, nfixer, nfixernext, nrealfixer, painted_abstract, PaintStyle1, PaintStyle3, PaintStyle4, paintstyle8, ParchArt, PhotoHelper, pinup768, PortraitHelper, protogemb, protogemb2, rz-passage, rzminjourney, rzviceb6, scarjo-subject-2-1-512, Style-Winter, ThisHonor, UlukInkSketch2, VintageHelper, vray-render
Model loaded in 16.8s (load weights from disk: 0.3s, create model: 0.7s, apply weights to model: 2.3s, apply half(): 0.5s, load VAE: 0.8s, move model to device: 1.0s, load textual inversion embeddings: 11.2s).
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\inputs.py:89: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:40: UserWarning: `optional` parameter is deprecated, and it has no effect
  warnings.warn(value)
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py:2385: UserWarning: The `bytes` type is deprecated and may not work as expected. Please use `binary` instead.
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Tab, please remove them: {'open': False}
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Number, please remove them: {'show_progress': False}
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Slider, please remove them: {'precision': 2, 'max_width': 10, 'show_progress': False}
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Slider, please remove them: {'max_width': 10, 'show_progress': False}
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Row, please remove them: {'max_width': 50}
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Tabs, please remove them: {'elemn_id': 'ip2p_gallery_container'}
  warnings.warn(

To create a public link, set `share=True` in `launch()`.
Startup time: 61.0s (import torch: 8.2s, import gradio: 1.2s, import ldm: 0.5s, other imports: 2.6s, list extensions: 5.3s, list SD models: 4.7s, setup codeformer: 0.1s, load scripts: 5.9s, load SD checkpoint: 16.9s, create ui: 15.2s, gradio launch: 0.2s).
Traceback (most recent call last):
  File "C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
    output = await app.get_blocks().process_api(
  File "C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1075, in process_api
    result = await self.call_function(
  File "C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 884, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "C:\Users\el8ia\stable-diffusion-webui\modules\generation_parameters_copypaste.py", line 157, in send_image_and_dimensions
    img = image_from_url_text(x)
  File "C:\Users\el8ia\stable-diffusion-webui\modules\generation_parameters_copypaste.py", line 70, in image_from_url_text
    if filedata.startswith("data:image/png;base64,"):
AttributeError: 'NoneType' object has no attribute 'startswith'
Closing server running on port: 7860
Restarting UI...
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\inputs.py:89: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:40: UserWarning: `optional` parameter is deprecated, and it has no effect
  warnings.warn(value)
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py:2385: UserWarning: The `bytes` type is deprecated and may not work as expected. Please use `binary` instead.
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Tab, please remove them: {'open': False}
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Number, please remove them: {'show_progress': False}
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Slider, please remove them: {'precision': 2, 'max_width': 10, 'show_progress': False}
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Slider, please remove them: {'max_width': 10, 'show_progress': False}
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Row, please remove them: {'max_width': 50}
  warnings.warn(
C:\Users\el8ia\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Tabs, please remove them: {'elemn_id': 'ip2p_gallery_container'}
  warnings.warn(

To create a public link, set `share=True` in `launch()`.
Startup time: 9.2s (list extensions: 5.1s, load scripts: 1.0s, list SD models: 0.1s, create ui: 2.6s, gradio launch: 0.1s).

Additional information

No response

AmitShashi commented 1 year ago

i saw this issue, i dont remember exactly but i removed one extension and this issue was solved. you can try putting extension from extension folder into extension_extra folder then put all extension back one by one. and whenever you add any extension back to original folder check console for error. u can repeat this process until you find faulty extension. this process will take around 15 - 20 min since you need to restart or reload webui again and again. don't worry u can safely remove or add any extension manually. doing so wont cause any future error.

catboxanon commented 1 year ago

This should be fixed as of the latest version. It was an upstream Gradio issue.