moose Claude Opus 4.7 (1M context) commited on
Commit
b34fbef
·
1 Parent(s): 486537f

Expose a second image input slot in the UI

Browse files

The Qwen-Image-Edit-Plus pipeline natively supports one or two reference
images, but the previous UI used a single Gallery widget that hid the
capability. Replaced with two explicit gr.Image components — Image 1
and Image 2 (optional). Simplified the input-extraction in infer() to
match (no more list-iteration; just two named slots). Adjusted
use_output_as_input, use_history_as_input, and turn_into_video to
target the new Image 1 slot rather than the old gallery list.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

1 file changed +37 -39
app.py+37-39