Open River-Kosmos opened 1 year ago
Note - Browsers I have used are Edge, Chrome and Fire Fox.
I'm not sure why you would have a modules\chat.py
in the modules directory
last I checked that's not a part of web UI
Maybe it's not the correct URL.
Try with the following: http://127.0.0.1:7860/sdapi/v1/txt2img
The correct default port is 7860 for local stable diffusion install on windows.
404 Client Error: Not Found for url: http://127.0.0.1:7861/sdapi/v1/txt2img
same issue and from doc also this endpoint was removed. please suggest the some way to get the solution for the same
404 Client Error: Not Found for url: http://127.0.0.1:7861/sdapi/v1/txt2img
same issue and from doc also this endpoint was removed. please suggest the some way to get the solution for the same
Facing the same issue here. Any update on this?
open the webui.bat present inside the stable diffusion
edit this file in editor as mentioned below ->
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--api
In my case the solution was modifying the webui-user.bat file as follows:
set PYTHON= set GIT= set VENV_DIR= set COMMANDLINE_ARGS=--api
After making these changes, I proceeded to open 'webui-user.bat' instead of 'webui.bat'.
add arg --api
when starting webui.
According to webui wiki.
Is there an existing issue for this?
What happened?
I am trying to have WebUI to generate text images through Stable Diffusion. When executing through WEB UI with the correct server for it to access Stable Diffusion. It gives me this Error.
404 Client Error: Not Found for url: http://127.0.0.1:7861/sdapi/v1/txt2img
I went to add --api to the batch file on Stable Diffusion and went through the Doc to discover that it is not located there. I have tried to update Stable Diff. A1111 to 1.6. I still have no success. I was wondering if anyone has gotten to this point with no progress or that I am just completely missing something here.
Steps to reproduce the problem
What should have happened?
The TextUI should have used Stable Diffusion to produce an image.
Sysinfo
"Platform": "Windows-10-10.0.22621-SP0", "Python": "3.10.9", "Version": "v1.6.0", "Commit": "5ef669de080814067961f28357256e8fe27544f4", "Script path": "C:\Users\natha\AI\A1111\stable-diffusion-webui", "Data path": "C:\Users\natha\AI\A1111\stable-diffusion-webui", "Extensions dir": "C:\Users\natha\AI\A1111\stable-diffusion-webui\extensions", "Checksum": "1bcaf7df11c14e69a56b7c40107d9d48a229757d301f05d0064db23bd4afc5e9", "Commandline": [ "launch.py" ], "Torch env info": { "torch_version": "2.0.1+cu118", "is_debug_build": "False", "cuda_compiled_version": "11.8", "gcc_version": null, "clang_version": null, "cmake_version": null, "os": "Microsoft Windows 11 Home", "libc_version": "N/A", "python_version": "3.10.9 | packaged by Anaconda, Inc. | (main, Mar 8 2023, 10:42:25) [MSC v.1916 64 bit (AMD64)] (64-bit runtime)", "python_platform": "Windows-10-10.0.22621-SP0", "is_cuda_available": "True", "cuda_runtime_version": null, "cuda_module_loading": "LAZY", "nvidia_driver_version": "536.67", "nvidia_gpu_models": "GPU 0: NVIDIA GeForce RTX 4070", "cudnn_version": null, "pip_version": "pip3", "pip_packages": [ "numpy==1.23.5", "open-clip-torch==2.20.0", "pytorch-lightning==1.9.4", "torch==2.0.1+cu118", "torchdiffeq==0.2.3", "torchmetrics==1.1.1", "torchsde==0.2.5", "torchvision==0.15.2+cu118" ], "conda_packages": [ "numpy 1.24.0 pypi_0 pypi", "torch 2.0.1+cu117 pypi_0 pypi", "torchaudio 2.0.2+cu117 pypi_0 pypi", "torchvision 0.15.2+cu117 pypi_0 pypi" ],
What browsers do you use to access the UI ?
Other
Console logs
Additional information
No response