Nevysha / Cozy-Nest

A collection of tweak to improve Auto1111 UI//UX
Other
381 stars 17 forks source link

Fix UI loading hack #197

Open TGrade opened 7 months ago

TGrade commented 7 months ago

Fixes an error "Cannot read properties of undefined (reading 'querySelectorAll')" During loading process.

I don't know how it was before 1.6.x update, but currently there is only 1 element returned by the selector. Taking 0 one seems to be fixes the issue.


Generation works, but there is an error in console while loading networks

ERROR:    Exception in ASGI application
OverflowError: int too big to convert
TypeError: Integer exceeds 64-bit range

This error happens when it tries to load data using this url: http://127.0.0.1:7860/cozy-nest/extra_networks/full Not sure about this one. Probably some api change?

TGrade commented 7 months ago

Ok nvm. Networks error was due to some metadata having a number 2 times bigger than int 64 like stated in this comment https://github.com/Nevysha/Cozy-Nest/issues/188#issuecomment-1665085547