🪢 A reactflow base stable diffusion GUI as ComfyUI alternative interface.
MIT License
A reactflow base stable diffusion GUI as ComfyUI alternative interface.
Changelog · Report Bug · Request Feature
clone ComfyUI follow the README.md installing there
git clone https://github.com/comfyanonymous/ComfyUI
replace ComfyUI/web
frontend with release build
⌨️ Local Development
You can use Gitpod for online development:
Or clone it for local development:
$ git clone https://github.com/canisminor1990/kitchen-comfyui
$ cd kitchen-comfyui
$ pnpm install
$ pnpm dev
Place this repo anywhere, and edit ComfyUI/server.py
👉 Note: Check assets/modify-server.py
@web.middleware
async def cors_handler(request: web.Request, handler):
response = await handler(request)
response.headers['Access-Control-Allow-Origin'] = '*'
response.headers['Access-Control-Allow-Methods'] = 'POST, GET, OPTIONS'
response.headers['Access-Control-Allow-Headers'] = 'Content-Type, Authorization, x-requested-with'
return response
class PromptServer():
......
self.app = web.Application(client_max_size=20971520, middlewares=[cache_control, cors_handler])
......
📊 Total: 4
Copyright © 2023 CanisMinor. This project is MIT licensed.