comfy-ui-api / README.md
Anatole RAIMBERT
[EVOL] Edit docker compose to run on port 8000
899abd8
|
Raw
History Blame Contribute Delete
909 Bytes
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

  1. Clone the repository
  2. If you don't have any GPU, switch to branch cpu-only
  3. Run docker compose up in the root directory of the repository
  4. Open a browser and navigate to :
    • ComfyUI: http://localhost:8000

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.