You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I send two requests to the API through websocket, only the latter one finishes, and the first one doesn't finish. Anyone else having the same issue?
I was following the API example in the code base, here's my code for sending the requests
def queue_prompt(prompt):
p = {"prompt": prompt, "client_id": client_id}
data = json.dumps(p).encode('utf-8')
req = urllib.request.Request("http://{}/prompt".format(server_address), data=data)
return json.loads(urllib.request.urlopen(req).read())
By adding logging in the code I found the first request started executing, but was cut off by the second request.
The text was updated successfully, but these errors were encountered:
If you need more help with it you'll have to post all your code, or at least the relevant sections you changed rather than just the queue_prompt function from the example script
Hi there
When I send two requests to the API through websocket, only the latter one finishes, and the first one doesn't finish. Anyone else having the same issue?
I was following the API example in the code base, here's my code for sending the requests
By adding logging in the code I found the first request started executing, but was cut off by the second request.
The text was updated successfully, but these errors were encountered: