kijai / ComfyUI-Florence2

Inference Microsoft Florence2 VLM
MIT License
300 stars 17 forks source link

update node.py #14

Closed nero-dv closed 1 week ago

nero-dv commented 1 week ago

nodes.py has been formatted using black

--

if text_input is not "":

changed to

if text_input != "":

To resolve error mentioned during startup of comfyui

--

resolved a couple type errors reported by MyPy; nodes.py:289 and nodes.py:399

kijai commented 1 week ago

Thanks, I missed that one.

I will fix that, but I have to say I don't really like all of the re-formatting though, so I'm not gonna merge this.

nero-dv commented 1 week ago

Fair enough, I should have discussed before assuming. Is there any particular reason you don't like using Black to format?