Open Sorbit16 opened 2 days ago
Hi,
you cant just use a workflow In comfy, you need to set it here
and then to wrap it with a "Handler", for example for supported Flux: https://github.com/stavsap/ComfyUI-Discord-Bot/blob/34056779abeb62cab86b1d2c0d69efb42d082284/handlers/handlers.py#L1057
if you want to modify the usage of checkpoint in the Flux handler you can set it here: https://github.com/stavsap/ComfyUI-Discord-Bot/blob/34056779abeb62cab86b1d2c0d69efb42d082284/handlers/prompts.py#L944
but you would need to place you model in the UNET folder.
if you want to write your own custom handler you can do it and read here how to integrate it:
https://github.com/stavsap/ComfyUI-Discord-Bot/blob/main/Docs/Handlers.md#custom-handlers
Trying to get this working with flux1-dev-bnb-nf4-v2.safetensors.
I'm using the flux.dev workflow json i found here:
https://comfyanonymous.github.io/ComfyUI_examples/flux/
im getting an error when asking the bot to generate any image:
got prompt Failed to validate prompt for output save_image_websocket_node:
I'm really new to all of this so not sure if this is even doable. thanks in advance.