space-nuko

Results 141 comments of space-nuko

WebUI should probably store that kind of thing in a proper database like SQL to not have to on scan every startup. Maybe keeping track of newly added files

The bottleneck in that case isn't the extra networks page being created, it's the fact that it's extremely inefficient to load/unload 60MB of raw HTML from the UI every time...

What I mean by "unload" is unload it from the browser's DOM, the actual HTML of the pages still remains on the backend When the extra networks pages are shown/hidden,...

Yeah the way it was done before was pre-rendering the HTML, then only toggling the visibility of the cards in CSS. This is faster to toggle on and off like...

When I tested without that change (sending the built UI when button is pressed) there is still a huge page load/refresh penalty of 10-15s because the entire prebuilt HTML will...

@scrumpyman Try ceb0fa8, it implements the CSS toggle you wanted after Gradio sends the HTML over once

> I think moving the ui building away from startup should still be separate. Maybe as an option? I don't think it's a global upgrade for everyone, since some may...

@scrumpyman Made it configurable like you wanted

Here are my results, using current `master` and a version that doesn't call `page.create_html` on startup ``` master: Startup time: 65.9s (import torch: 2.2s, import gradio: 1.4s, import ldm: 0.5s,...

Thanks @evanjs could you make that into a code review suggested change? I'll merge it in (no computer at the moment)