Spaces:
Paused
Paused
|
Download README.md from 2ndChanceParis/comfy-ui-api: direct link, hf CLI and curl.
- Browser
- Download file 909 Bytes
-
https://huggingface.co/spaces/2ndChanceParis/comfy-ui-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/2ndChanceParis/comfy-ui-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/2ndChanceParis/comfy-ui-api/resolve/main/README.md
909 Bytes
| 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](Dockerfile). | |
| Hugging Face Spaces exposes port 7860 on which ComfyUI is running after build and startup. | |
| ## Usage | |
| ### Workflows | |
| Workflows stored in [workflows](workflows) are copied to the container. |