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.

Add a note to script about which websocket library is used.

comfyanonymous2803e78bd0ad
diff --git a/script_examples/websockets_api_example.py b/script_examples/websockets_api_example.py
index 25882d821..57a6cbd9b 100644
--- a/script_examples/websockets_api_example.py
+++ b/script_examples/websockets_api_example.py
@@ -1,7 +1,7 @@
#This is an example that uses the websockets api to know when a prompt execution is done
#Once the prompt execution is done it downloads the images using the /history endpoint
-import websocket
+import websocket #NOTE: websocket-client (https://github.com/websocket-client/websocket-client)
import uuid
import json
import urllib.request