There are some cases where you might need to convert a data type (like a Pydantic model) to something compatible with JSON (like a dict, list, etc). For example, if you need to store it in a database.
VAE_ENCODER_DIR = os.path.join(MODELS_DIR_PATH, "vae_encoder") os.makedirs(VAE_ENCODER_DIR, exist_ok=True) VAE_ENCODER_ONNX_PATH = os.path.join(VAE_ENCODER_DIR ...
Sharing video in a Discord server can be frustrating when a file takes too long to upload, exceeds a size limit, or looks ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results