Skip to content

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 issue importing other ui prompts.

comfyanonymous9b1396e93a19
diff --git a/web/scripts/pnginfo.js b/web/scripts/pnginfo.js
index 8ddb7a1c5..977b5ac2f 100644
--- a/web/scripts/pnginfo.js
+++ b/web/scripts/pnginfo.js
@@ -69,6 +69,7 @@ export async function importA1111(graph, parameters) {
const embeddings = await api.getEmbeddings();
const opts = parameters
.substr(p)
+ .split("\n")[1]
.split(",")
.reduce((p, n) => {
const s = n.split(":");