Tuple unpacking mismatch in app.py line 119 #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
run_prompt_pipeline()returns a 3-tuple(image_path, full_output, cmd)(line 56), but the call site on line 119 only unpacks 2 values:This will raise a
ValueError: too many values to unpackat runtime and crash the app every time the generate button is clicked.Fix
Or change the function to return only 2 values if
cmdis not needed externally.