The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix large workflow pnginfo import
Filipee76890dcb4e8
diff --git a/web/scripts/pnginfo.js b/web/scripts/pnginfo.jsindex 580030d81..31f470739 100644--- a/web/scripts/pnginfo.js+++ b/web/scripts/pnginfo.js@@ -32,8 +32,9 @@ export function getPngMetadata(file) {}const keyword = String.fromCharCode(...pngData.slice(offset + 8, keyword_end));// Get the text- const text = String.fromCharCode(...pngData.slice(keyword_end + 1, offset + 8 + length));- txt_chunks[keyword] = text;+ const contentArraySegment = pngData.slice(keyword_end + 1, offset + 8 + length);+ const contentJson = Array.from(contentArraySegment).map(s=>String.fromCharCode(s)).join('')+ txt_chunks[keyword] = contentJson;}offset += 12 + length;