Spaces:
Paused
Paused
metadata
title: Comfy Ui Api
emoji: 🐢
colorFrom: indigo
colorTo: yellow
sdk: docker
pinned: false
short_description: ComfyUI API - Docker
Comfy UI Api
This is a simple example of how to run ComfyUI on a nvidia cuda machine using Docker.
Requirements
- docker & docker-compose
- nvidia gpu
Installation
Local
- Clone the repository
- If you don't have any GPU, switch to branch
cpu-only - Run
docker compose upin the root directory of the repository - Open a browser and navigate to :
- ComfyUI:
http://localhost:8000
- ComfyUI:
Hugging Face Spaces
When pushing the repository to Hugging Face Spaces, the container is automatically built and started from the root Dockerfile. Hugging Face Spaces exposes port 7860 on which ComfyUI is running after build and startup.
Usage
Workflows
Workflows stored in workflows are copied to the container.