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

Function make_refresh_call

ui/easydiffusion/backends/webui_common.py:379–383  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

377
378def refresh_models():
379 def make_refresh_call(type):
380 try:
381 webui_post(f"/sdapi/v1/refresh-{type}")
382 except:
383 pass
384
385 try:
386 for type in ("checkpoints", "vae-and-text-encoders"):

Callers

nothing calls this directly

Calls 1

webui_postFunction · 0.85

Tested by

no test coverage detected