Skip to content

Commit cb8b56b

Browse files
committed
Fix typo that led to all pipelines using img2img (fixes kiri-art#5)
1 parent db1597a commit cb8b56b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def init():
103103

104104
model = loadModel(MODEL_ID)
105105

106-
if PIPELINES == "ALL":
106+
if PIPELINE == "ALL":
107107
pipelines = createPipelinesFromModel(model)
108108

109109
send("init", "done")
@@ -160,7 +160,7 @@ def inference(all_inputs: dict) -> dict:
160160
}
161161
}
162162

163-
if PIPELINES == "all":
163+
if PIPELINE == "ALL":
164164
pipeline = pipelines.get(call_inputs.get("PIPELINE"))
165165
else:
166166
pipeline = model

0 commit comments

Comments
 (0)