diff --git a/builder/modal-builder/src/template/app.py b/builder/modal-builder/src/template/app.py index 1650252..06f8d96 100644 --- a/builder/modal-builder/src/template/app.py +++ b/builder/modal-builder/src/template/app.py @@ -36,6 +36,7 @@ if not deploy_test: # dockerfile_image = Image.from_dockerfile(f"{current_directory}/Dockerfile", context_mount=Mount.from_local_dir(f"{current_directory}/data", remote_path="/data")) # dockerfile_image = Image.from_dockerfile(f"{current_directory}/Dockerfile", context_mount=Mount.from_local_dir(f"{current_directory}/data", remote_path="/data")) + print("about to build image") dockerfile_image = ( modal.Image.debian_slim() .apt_install("git", "wget") @@ -76,6 +77,8 @@ if not deploy_test: .run_commands("python install_deps.py") ) +print("built image") + # Time to wait between API check attempts in milliseconds COMFY_API_AVAILABLE_INTERVAL_MS = 50 # Maximum number of API check attempts @@ -306,4 +309,4 @@ def comfyui_app(): }, )() - return make_simple_proxy_app(ProxyContext(config)) \ No newline at end of file + return make_simple_proxy_app(ProxyContext(config))