ArtVentureX / sd-webui-agent-scheduler

619 stars 63 forks source link

Seperate WebUI Instance can share Agent Scheduler Queue state #152

Closed aria1th closed 10 months ago

aria1th commented 10 months ago

The pseudocode snippet

api = WebUIApi(port=8001)
api.set_auth('master', 'user')

for _i in range(2):
    api.txt2img_task(
        prompt="1girl"
    )
api_8000 = WebUIApi(port=8000)
api_8000.set_auth('master', 'user')
api_8000.get_agent_scheduler_queue()

The expected result is empty queue.