-
Notifications
You must be signed in to change notification settings - Fork 21
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
Unable to execute comfyscript when called via function #65
Comments
This error means ComfyUI can't find the model 'artium_v20Turboboosted.safetensors'. You may put it in the wrong directory. To print all the models found by ComfyUI: from comfy_script.runtime import load
load("comfyui")
from comfy_script.runtime.nodes import Checkpoints
print(list(Checkpoints)) |
I have verified the location.
But when executing image.py within the same directory, it is able to find the model:
|
That's weird. Did you put the model in the same directory as others? Or it's in a separate directory? |
There is a bug in the comfyui package. If you name the script |
Thank you @Chaoses-Ib The workaround of renaming main.py helps resolve the issue. |
this is resolved upstream @dhiraj-salian thanks for reporting the issue |
I am trying to write a script using comfyscript to generate images.
When the comfyscript is called using function it throws the following error:
Steps to reproduce:
I have tried to play around by moving load() and Workflow() to main.py but was facing the same issue.
Please help check if I am missing something.
Thanks for the help.
The text was updated successfully, but these errors were encountered: