MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / is_installed

Function is_installed

ui/easydiffusion/backends/sdkit3.py:184–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182
183
184def is_installed():
185 backend_dir = get_backend_dir()
186 exe_name = "sdkit.exe" if OS_NAME == "Windows" else "sdkit"
187 if os.path.exists(os.path.join(backend_dir, exe_name)):
188 return True
189
190 return False
191
192
193def get_target():

Callers 1

start_backendFunction · 0.70

Calls 1

get_backend_dirFunction · 0.85

Tested by

no test coverage detected