kijai / ComfyUI-Florence2

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

update node.py #14

Closed nero-dv closed 5 months ago

nero-dv commented 5 months 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 5 months 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 5 months ago

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