Open DHASJ opened 1 year ago
Hi!
Did you set the tags --api --listen in webui-user.bat? API Wiki entry
I'm not gonna follow a random link to discord, point to the version on GitHub :)
hello,I have set parameters as required in launch.py. But it didn't work
1) The code you mention is inside a function called 'tests' in launch.py, and is only used if the --tests tag is set in webui-user.bat. I understand your intent, but you are editing in the wrong place. 2) To actually set the tags; edit webui-user.bat and set the tag --api and maybe --listen, depending on what you are doing. (Could be done in multiple ways, but this is the recommended way.)
I am having the issue also. I get {"detail":"Not Found"} page in the browser when trying to open http://127.0.0.1:7860/docs Tried both --api --listen But it only works with --nowebui Tried deleting and reinstalling venv
Windows 10 x64 Edge, Yandex browser
log: venv "D:\portable\AUTOMATIC1111\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: 5ab7f213bec2f816f9c5644becb32eb72c8ffb89 Installing requirements
Fetching updates for midas... Checking out commit for midas with hash: 1645b7e...
Installing requirements 1 for Infinite-Zoom
Installing sd-dynamic-prompts requirements.txt
Installing ImageReward requirement for image browser
Installing requirements for Unprompted - img2pez Installing requirements for Unprompted - pix2pix_zero Installing requirements for Unprompted - zoom_enhance
Launching Web UI with arguments: --precision full --no-half --medvram --xformers --disable-safe-unpickle --api --listen
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: D:\portable\AUTOMATIC1111\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Error loading script: ddetailer.py
Traceback (most recent call last):
File "D:\portable\AUTOMATIC1111\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\portable\AUTOMATIC1111\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
Error loading script: depthmap_for_depth2img.py
Traceback (most recent call last):
File "D:\portable\AUTOMATIC1111\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\portable\AUTOMATIC1111\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
Error loading script: simple_depthmap.py
Traceback (most recent call last):
File "D:\portable\AUTOMATIC1111\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\portable\AUTOMATIC1111\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
[AddNet] Updating model hashes... 0it [00:00, ?it/s] [AddNet] Updating model hashes... 0it [00:00, ?it/s] ControlNet v1.1.134 ControlNet v1.1.134 Hypernetwork-MonkeyPatch-Extension not found (SETUP) Loading Unprompted v9.1.2 by Therefore Games (SETUP) Initializing Unprompted object... (SETUP) Loading configuration files... (SETUP) Logging enabled for the following message types: RESULT,ERROR Loading weights [e0be2fb84b] from D:\portable\AUTOMATIC1111\stable-diffusion-webui\models\Stable-diffusion\MAIN\cyberrealistic_v20.safetensors Creating model from config: D:\portable\AUTOMATIC1111\stable-diffusion-webui\configs\v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Applying xformers cross attention optimization. Error loading embedding fantasyWorld_v1.safetensors: Traceback (most recent call last): File "D:\portable\AUTOMATIC1111\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 210, in load_from_dir self.load_from_file(fullfn, fn) File "D:\portable\AUTOMATIC1111\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
Textual inversion embeddings loaded(47): SamDoesArt2, alberto-mielgo, alberto-montt, angels-primaris, atompunkstylesd15, bad-hands-5, bad_emb_final, bad_prompt, bad_prompt_version2, cartoona-animals, CharTurner, cheburashka, cloudport, concept-art, dan-mumford, depthmap, dr-livesey, durer-style, easynegative, emb-rrf2, eonn, leica, m-geo, naval-portrait, ohisashiburi-style, olfn, poly-hd, RebeccaEdgerunners, robo-lady, she-hulk-law-art, Shield_rose-350, Style-Italy, Style-Kilt, Style-Kitchen, Style-Kitchen-neg, Style-NebMagic, Style-NebMagic-neg, style-of-marc-allante, Style-Princess, Style-Psycho, Style-Psycho-neg, Usada Pekora, vladstudio, was-battletech, was-dieselpunk, was-jaeger, was-steampunk Textual inversion embeddings skipped(59): 0xaisticker, AnimeScreenCap, anthro, cartoonish_doll, CGI_Animation-245, Chadeisson, ChemPunk-96, Cinema768-Analog, Cinema768-BW, Cinema768-Classic, Cinema768-Digital, Cinema768-SilentFilm, CinemaHelper, classipeint, CutAway-500, DaveSpaceOne, dblx, dgtl, dgtlv2, Help_ActionHelper, Help_CarHelper, Help_CinemaHelper, Help_FloralMarble, Help_GigaChad, Help_HeartArt, Help_HyperFluid, Help_HyperNuke, Help_KittyPic, Help_PhotoHelper, Help_PortraitHelper, Help_VintageHelper, InkPunk768, iso-v1-2000, Kipaki-150, mdjrny-ppc-150, mj-gs, nfixer, no_unrealistic768, nrealfixer, painted_landscape, PaintStyle3, pinup768, ppgra, retrofutur, rzminjourney, SCG768-Illustrate, SDA768, SocialistRealism, Style-Winter, tf86movie-550, tfboxart-600, TungstenDispo, UlukInkSketch2, UrbanJungle, VikingPunk, vray-render, wcat8-v1-1000, wcat8-v1-2000, Wrong_prompt Model loaded in 1.6s (load weights from disk: 0.1s, create model: 0.4s, apply weights to model: 0.8s, load textual inversion embeddings: 0.2s). Running on local URL: http://0.0.0.0:7860
To create a public link, set share=True
in launch()
.
Startup time: 16.3s (import torch: 1.6s, import gradio: 1.1s, import ldm: 0.4s, other imports: 0.9s, load scripts: 3.1s, load SD checkpoint: 1.8s, create ui: 7.1s, gradio launch: 0.2s).
Is there an existing issue for this?
What happened?
The official way to open the API interface cannot be opened.
Steps to reproduce the problem
The official way to open the API interface cannot be opened.
What should have happened?
The official way to open the API interface cannot be opened.
Commit where the problem happens
https://discord.gg/feTf9x3ZSB
What platforms do you use to access the UI ?
No response
What browsers do you use to access the UI ?
No response
Command Line Arguments
List of extensions
none
Console logs
Additional information
No response