Browse Source

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

pull/770/head
comfyanonymous 1 year ago
parent
commit
2803e78bd0
  1. 2
      script_examples/websockets_api_example.py

2
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 #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 #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 uuid
import json import json
import urllib.request import urllib.request

Loading…
Cancel
Save