Commit 9b1396e9 authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix issue importing other ui prompts.

parent 7310290f
...@@ -69,6 +69,7 @@ export async function importA1111(graph, parameters) { ...@@ -69,6 +69,7 @@ export async function importA1111(graph, parameters) {
const embeddings = await api.getEmbeddings(); const embeddings = await api.getEmbeddings();
const opts = parameters const opts = parameters
.substr(p) .substr(p)
.split("\n")[1]
.split(",") .split(",")
.reduce((p, n) => { .reduce((p, n) => {
const s = n.split(":"); const s = n.split(":");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment