Fix Qwen reference image autogrow input names
This commit is contained in:
1 parent
508a3f4176
commit
7826388cde
2 files changed
+4
-3
No files matched your search
+1
-1
@@ -93,7 +93,7 @@ def workflow(prompt,params,seed,family='qwen',references=()):
|
||||
graph['4']['inputs']['vae']=['3',0]
|
||||
for index,name in enumerate(references,1):
|
||||
graph[str(20+index)]={'class_type':'LoadImage','inputs':{'image':name}}
|
||||
graph['4']['inputs'][f'image_{index}']=[str(20+index),0]
|
||||
graph['4']['inputs'][f'images.image_{index}']=[str(20+index),0]
|
||||
graph['6']['inputs']['latent_image']=['4',2]
|
||||
return graph
|
||||
|
||||
|
||||
Reference in new issue
Block a user