Replies: 1 comment
-
I made a PR for this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Link to the code
First, I believe the outer loop
for o in history['outputs']:
is redundant and can be removed. This loop seems to serve no practical purpose as it merely iterates over the length ofhistory['outputs']
without performing any operations on each element.Secondly, I think
images_output = []
should be placed above the conditionif 'images' in node_output:
. The current code structure will result in an errorlocal variable 'images_output' referenced before assignment
when theif
condition is false.Can the author or community members explain if there are any additional considerations for this code, or if it was simply written in error? Thank you!
Suggested modification:
Beta Was this translation helpful? Give feedback.
All reactions