Spaces:
Running on Zero

mpasila commited on
Commit
35d08d7
·
verified ·
1 Parent(s): 49c5b9b

feat(app): add auto-canvas selection and update conditioner space

Browse files

- Update `CONDITIONER_SPACE` default to `mpasila/qwen3vl-conditioner`.
- Add 3:2 and 2:3 aspect ratio options to `CANVASES`.
- Implement `auto_canvas` logic to automatically select the closest canvas aspect ratio based on uploaded image or video dimensions.
- Bind `auto_canvas` to image and video component change events in the Gradio UI.

1 file changed +48 -1
app.py+48-1