mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-17 00:23:14 +00:00
comfy: write preview frames where rust can find them
This commit is contained in:
@@ -360,6 +360,10 @@ def get_history(prompt_id):
|
||||
with urllib.request.urlopen("http://{}/history/{}".format(SERVER_IP, prompt_id)) as response:
|
||||
return json.loads(response.read())
|
||||
|
||||
def get_queue(server_ip):
|
||||
with urllib.request.urlopen("http://{}/queue".format(server_ip)) as response:
|
||||
return json.loads(response.read())
|
||||
|
||||
async def get_images(ws, prompt_id, filter_node_id=None):
|
||||
output_images = {}
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user