Files
siliconflow-BizyAir/data_types.py
T
FengWenandYao Chi fc7bae2804 Dev support ksampler (#44)
* support vae lora controlnet

* Optimal dispatch

* auto composition

* fix ID Allocator & add batch mode

* support ipa

* remove batch

* refine

* Add examples for bizyair examples (#57)

* add examples

* fix & refine

* refine

* black

* refine

* refine

* refine

* refine send_request

* add exaple for ipadater

* reformat for mz nodes py

---------

Co-authored-by: Yao Chi <later@usopp.net>
2024-07-27 00:20:39 +08:00

12 lines
336 B
Python

# https://docs.comfy.org/essentials/custom_node_datatypes#model-datatypes
# Model datatypes
MODEL = "BIZYAIR_MODEL"
CLIP = "BIZYAIR_CLIP"
VAE = "BIZYAIR_VAE"
CONDITIONING = "BIZYAIR_CONDITIONING"
CONTROL_NET = "BIZYAIR_CONTROL_NET"
def is_model_datatype(datatype):
return datatype in [MODEL, CLIP, VAE, CONDITIONING, CONTROL_NET]