- Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
Hello There,
I have converted one of my workflow to .py file, lets say, imagegen.py file and I kept it inside ComfyUI folder, I am able to call it and get the output image, now I want to pass the prompt text as parameter while calling the py file - like: python imagegen.py --input_prompt "a tiger in a jungle", and it always says argument not recognized, although I have defined the args using argparse lib, creating parser , it always says args not recognized.
and says it is expecting arguments of comfyui cli args, it seems the comfyui cli is not allowing me to add my own argument/parameter, how do I achieve that, I want to change the prompt before calling the python file.
Metadata
Metadata
Assignees
Labels
No labels