Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Not needed anymore.

comfyanonymousdc6d4151a2dc
diff --git a/server.py b/server.py
index c6132cdf9..7b4f910e3 100644
--- a/server.py
+++ b/server.py
@@ -15,15 +15,8 @@ from PIL import Image, ImageOps
from PIL.PngImagePlugin import PngInfo
from io import BytesIO
-try:
- import aiohttp
- from aiohttp import web
-except ImportError:
- print("Module 'aiohttp' not installed. Please install it via:")
- print("pip install aiohttp")
- print("or")
- print("pip install -r requirements.txt")
- sys.exit()
+import aiohttp
+from aiohttp import web
import mimetypes
from comfy.cli_args import args