Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comments not working in PromptText #3669

Closed
manuiageek opened this issue Jun 7, 2024 · 3 comments
Closed

comments not working in PromptText #3669

manuiageek opened this issue Jun 7, 2024 · 3 comments

Comments

@manuiageek
Copy link

manuiageek commented Jun 7, 2024

Hello,
I just updated my comfyui and find out that the comments "//" are not working anymore. The workflow doesn't care about them and execute everyline of prompts (even the ones "commented").
I looked on the other issues related to that, I tried to add the "dynamicPrompts": True inside the class CR_PromptText in nodes_core.py. Still no chance after the reboot.
I understand that the behaviour of that node has changed lately but it's not very friendly to have that "feature" changed this way. I mean it should be normal to have "//" as a comment ... why it's not the default behaviour anymore ?
Anyway, anyone has an idea of how to make the "past-behaviour" work again in normal CR TextPrompt ?

@manuiageek
Copy link
Author

If people are having the same issue, I found a way to make the "//" comments working.
I used the "DynamicPrompts Text Box" node that I connect to the inputtext of a prompt of a clip text encode.

@mcmonkey4eva
Copy link
Collaborator

This sounds related to a custom node pack you're using rather than to Comfy itself

@manuiageek
Copy link
Author

manuiageek commented Jun 11, 2024

"This sounds related to a custom node pack you're using rather than to Comfy itself"

You might be right!
I reinstalled everything, now it works as expected. This time I use the : ComfyUI_windows_portable_nightly_pytorch
It works like a charm :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants