kijai / ComfyUI-Florence2

Inference Microsoft Florence2 VLM
MIT License
768 stars 51 forks source link

Fix caption output workaround - use built-in list flattening #37

Closed webspam0 closed 4 months ago

webspam0 commented 4 months ago

Uses ComfyUI's built-in output list flattening instead of custom workaround (which results in output type changing).

I'd completed this long before I saw #29, but I checked the commits and noticed it introduces some redundant code, so here's a simpler version.