ZOOM IN ISSUES, how do i replace the new nodes posted?

#154
by AmazingTy - opened

i dont have a folder with the file shared in this post :

"Replace your nodes_qwen.py file with one of these, which will improve your "native" TextEncodeQwenEditPlus node.

It increases the number of image inputs from 3 to 4.
It slightly tweaks the system input to be a bit more versatile.
It fixes an issue where the image would get cut off and mirror itself sometimes by cropping better.
The "original" allows you to input a "target_size" which will scale the input images to better match your output size (which can fix zooming issues). Usually setting it to 90% of your largest image size works.

v2 takes a latent as an input, which should contain your target image size. The node will automatically scale input images to best match that target latent size. If you do not provide a latent input, it will not do any scaling."


i dont have a file called nodes_qwen.py i looked through entire folders i use the app version not portable not bootable from cmd.

i have the zoom in issues as well and i dont know how to fix it

I'm using the portable version and for me the file path is:

ComfyUI_windows_portable\ComfyUI\comfy_extras\nodes_qwen.py

(Make sure your ComfyUI version is all up to date.)

I'm not using the replacement for the nodes_qwen.py provided here, as I am tackling scaling issues my own way, with my own customised workflow.

I almost always have the output set at 1280x1280, and that helps with the odd border problems, which often showed if I tried matching the output aspect to that of the source image.

don't you have it in this folder? : C:\Users<YourUsername>\AppData\Local\Programs\ComfyUI ?????

don't you have it in this folder? : C:\Users<YourUsername>\AppData\Local\Programs\ComfyUI ?????

thanks so much, i didnt know it was in appdata. when i installed it i installed it into documents. i did find the file and replaced it with v2.
i retried the generation and it seems to be working much better now thanks your a legend!

ur welcome. thats the problem with three different versions of comfyUI.... (app, portable, basic install)

Sign up or log in to comment