You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example script for setting up and running ComfyUI and ComfyScript with Modal.
Be careful if you want to replace the official ComfyUI with the comfyui package, Modal does not work well with it: https://github.com/Chaoses-Ib/ComfyScript/issues/69
Authors: @the-dream-machine, @Chaoses-Ib
'''
importsubprocess
importmodal
image= (
modal.Image.debian_slim(python_version="3.12.5")
.apt_install("git")
.pip_install("comfy-cli==1.1.6")
# use comfy-cli to install the ComfyUI repo and its dependencies