Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button press returning response code 422 Unprocessable Entity #1139

Closed
slohth opened this issue Jul 9, 2023 · 6 comments
Closed

Button press returning response code 422 Unprocessable Entity #1139

slohth opened this issue Jul 9, 2023 · 6 comments

Comments

@slohth
Copy link

slohth commented Jul 9, 2023

Hi there,

After cloning, installing and running the setup.bat then the gui.bat file, any button press does not work and instead returns a 422 response code.

See attached gif:

brave_cwmvCo3yNd

index.js:170 POST http://127.0.0.1:7860/run/predict 422 (Unprocessable Entity)
$r @ index.js:170
(anonymous) @ index.js:396
Promise.then (async)
j @ index.js:385
pe @ Blocks.svelte:286
je @ Blocks.svelte:280
await in je (async)
(anonymous) @ Blocks.svelte:361
(anonymous) @ index.mjs:1170
Fr @ index.mjs:1170
f @ Button.svelte:12
(anonymous) @ index.mjs:1170
Fr @ index.mjs:1170
v @ Button.svelte:11
Show 4 more frames

Is there any way I can fix this? Thanks

@coderzhoucf
Copy link

I also encountered this issue. The new computer system has this issue with Win11, while the old computer system did not have this issue with Win10.

@slohth
Copy link
Author

slohth commented Jul 9, 2023

For reference, I recorded a video of me downloading a completely fresh installation of koyha ss:
https://youtu.be/HLdZiF_HtUU

@CodR-2
Copy link

CodR-2 commented Jul 9, 2023

I'm also having the same issue and I am on windows 11. I have tried so many different release versions and none have worked. I use to use this before and it worked until I updated to the latest version. So far the releases I have tried to downgrade and still have the issues are:

  1. v21.7.16
  2. v21.7.15
  3. v21.7.14
  4. v21.3.9
    System:
    Operating System Windows 11
    Python 3.10.9

@CodR-2
Copy link

CodR-2 commented Jul 9, 2023

I found the fix by another user: #1129 (comment)

@amurorei01
Copy link

Also encountered almost the same problem.

@slohth
Copy link
Author

slohth commented Jul 9, 2023

I found the fix by another user: #1129 (comment)

This seems to work as a temporary fix! 🙏

gesen2egee pushed a commit to gesen2egee/kohya_ss that referenced this issue Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants