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

Function webui_get

ui/easydiffusion/backends/webui_common.py:530–532  ·  view source on GitHub ↗
(uri, *args, **kwargs)

Source from the content-addressed store, hash-verified

528
529
530def webui_get(uri, *args, **kwargs):
531 url = f"http://{WEBUI_HOST}:{WEBUI_PORT}{WEBUI_API_PREFIX}{uri}"
532 return requests.get(url, *args, **kwargs)
533
534
535def webui_post(uri, *args, **kwargs):

Callers 1

pingFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected