AbdullahAlfaraj / AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin

Error while generating the picture

Aperta
#68 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
7.3k
Fork
526
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Got the plugin installed, but when trying to generate image getting below error. I've API enabled, can access the docs page in the url.
The server is on a nw machine, and I've set the SD url to the proper link.

INFO: Will watch for changes in these directories: ['E:\\Stable-Diffusion-Gits\\Auto-Photoshop-StableDiffusion-Plugin\\server\\python_server']
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO: Started reloader process [10248] using WatchFiles
INFO: Started server process [13932]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: 127.0.0.1:62709 - "POST /sdapi/v1/interrupt HTTP/1.1" 404 Not Found
txt2ImgHandle:

payload: {}
INFO: 127.0.0.1:62709 - "POST /txt2img/ HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 419, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\fastapi\applications.py", line 270, in __call__
await super().__call__(scope, receive, send)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
raise exc
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
raise e
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
await self.app(scope, receive, send)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\starlette\routing.py", line 706, in __call__
await route.handle(scope, receive, send)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\starlette\routing.py", line 66, in app
response = await func(request)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\fastapi\routing.py", line 235, in app
raw_response = await run_endpoint_function(
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server_env\lib\site-packages\fastapi\routing.py", line 161, in run_endpoint_function
return await dependant.call(**values)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server\python_server\.\serverMain.py", line 159, in txt2ImgHandle
dir_name,image_paths,metadata = await txt2ImgRequest(payload)
File "E:\Stable-Diffusion-Gits\Auto-Photoshop-StableDiffusion-Plugin\server\python_server\.\serverMain.py", line 26, in txt2ImgRequest
if(payload['use_prompt_shortcut']): # use edit prompt
KeyError: 'use_prompt_shortcut'

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.