stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Fix #9046 /sdapi/v1/txt2img endpoint not working

Open u7ko4 opened this issue 1 year ago • 3 comments

Describe what this pull request is trying to achieve.

Fix https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9046

Environment this was tested in

  • OS: Linux
  • Browser: chrome
  • Graphics card: RTX 3090

u7ko4 avatar Apr 03 '23 09:04 u7ko4

Worked.

It fixed the issue i was getting using the text2image endpoint (There is no current event loop in thread 'AnyIO worker thread').

OS: Linux - Ubuntu 20.04 x64 Graphics card: RTX 3080ti

Thanks

joaoescribano avatar Apr 09 '23 21:04 joaoescribano

I'm getting the same error on OSX - looking at the code, I'd imagine it doesn't fix it (since it's specific to win32)?

herval avatar Apr 13 '23 17:04 herval

update: just tested the patch and it DOES fix the issue on OSX as well

herval avatar Apr 13 '23 17:04 herval

Fixed for me as well

Ubuntu 20.04 with A100 80GB (suspect it's Python 3.8 that's the culprit)

jquesnelle avatar Apr 25 '23 02:04 jquesnelle