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

Function run_fn

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

Source from the content-addressed store, hash-verified

166 webui_common.WEBUI_API_PREFIX = "/v1"
167
168 def run_fn():
169 exe_name = "sdkit.exe" if OS_NAME == "Windows" else "sdkit"
170 common_cli_args = get_common_cli_args(return_string=False)
171 cmd = [os.path.join(backend_dir, exe_name)] + common_cli_args + extra_args + user_args
172
173 log.info(f"starting: {cmd}")
174
175 return run(cmd, cwd=backend_dir, wait=False, output_prefix="[sdkit3] ")
176
177 do_start_backend(was_still_installing, run_fn)
178

Callers

nothing calls this directly

Calls 2

get_common_cli_argsFunction · 0.90
runFunction · 0.90

Tested by

no test coverage detected