Git Product home page Git Product logo

Comments (11)

micka9fr avatar micka9fr commented on June 30, 2024

Hi, I have the same issues with js error at this line 389 :

function submit(endpoint, data, event_data) {
let fn_index;
let api_info;
if (typeof endpoint === "number") {
fn_index = endpoint;
--> api_info = api.unnamed_endpoints[fn_index];

from canvas-zoom.

richrobber2 avatar richrobber2 commented on June 30, 2024

alright i really need more storage space to be supporting all these webui frameworks

that said, im looking into the performance problems.

@micka9fr im gonna need more info about that. i dont even know what file that comes from. the only one that points to that code is ui.js and that code has nothing to do with the extention

@ghkim89 what are your system specs? i dont get any performance issues on my system =>[

i even tried throttling it. if possible can you get a performance log for me? using dev tools. i cant reproduce any issues in performance. the canvas naturally slowes down on new image updates. the undo functionallity is known to cause slowdowns because it updates a lot. that is caused by gradio and is not fixable without loosing funtionallity

edit: some info about performance tooling for chrome
]

from canvas-zoom.

richrobber2 avatar richrobber2 commented on June 30, 2024

and @micka9fr i am not getting the bug. can you provide steps to reproduce the error?

from canvas-zoom.

ghkim89 avatar ghkim89 commented on June 30, 2024
test.mp4

I just used both extensions together. When I removed the prompt-all-in-one extension, the bug did not occur.

from canvas-zoom.

micka9fr avatar micka9fr commented on June 30, 2024

Hi thx for your answer and, sorry for my late answer.

The Stable Diffusion API don't work only at start (cannot use generate button). I must refresh my webpage to make my SD working.

It's not a python error, I have no error reported on the Stabily Matrix console. But when I look the console of my web browser (opera) I have that :

image

When I track the function in error with my PHPstorm it find the line here :

E:\Stability Matrix\Packages\Stable Diffusion WebUI\extensions\canvas-zoom\dist\templates\frontend\assets\index-7a57bd3a.js

I don't know how work JS with SD extention but I think it's a compilated JS. I find the same function here too :

E:\Stability Matrix\Packages\Stable Diffusion WebUI\venv\Lib\site-packages\gradio\templates\frontend\assets\index-7a57bd3a.js.map

I thought that it was a cache issues but... it's not, I have same issue when I clean my Opera cache.

I hope it will be usefull,

PS: maybe it's a interaction with an other extention....

My extention I use :
image

from canvas-zoom.

richrobber2 avatar richrobber2 commented on June 30, 2024

if you can click the little red arrow that would help seeing the actual error

from canvas-zoom.

micka9fr avatar micka9fr commented on June 30, 2024

At startup
image
When I click on "generate" the first time
image

from canvas-zoom.

micka9fr avatar micka9fr commented on June 30, 2024

The line 389
image

from canvas-zoom.

richrobber2 avatar richrobber2 commented on June 30, 2024

sorry i had a busy week. and now im sick. but can you tell me where that stylez.js is. because i dont seem to have it (or its built into gradio.

i odnt know if there is enough info. since non of that relates to my code, other than maybe the button.svelte file. but we dont really edit that button directly so it should not be comunicating through endpoints. i dont know what the error is. we have never encountered it

@micka9fr

from canvas-zoom.

richrobber2 avatar richrobber2 commented on June 30, 2024

i made another branch with some more error handling. here

give that a try and tell me if anything errors. (i added checks to see if objects exist before running some event code

edit: if there is nothing from my code then it might mean that its not caused by my extention

from canvas-zoom.

richrobber2 avatar richrobber2 commented on June 30, 2024

@micka9fr

from canvas-zoom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.