MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / stop_rendering

Function stop_rendering

ui/easydiffusion/backends/webui_common.py:369–375  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

367
368
369def stop_rendering(context):
370 try:
371 res = webui_post("/sdapi/v1/interrupt")
372 if res.status_code != 200:
373 raise Exception(res.text)
374 except Exception as e:
375 print(f"Error interrupting webui: {e}")
376
377
378def refresh_models():

Callers

nothing calls this directly

Calls 1

webui_postFunction · 0.85

Tested by

no test coverage detected