MCPcopy Create free account
hub / github.com/6174/comflowyspace / getModelPath

Function getModelPath

apps/node/src/modules/model-manager/model-paths.ts:158–161  ·  view source on GitHub ↗
(type: string, save_path: string, file_name: string)

Source from the content-addressed store, hash-verified

156}
157
158export function getModelPath(type: string, save_path: string, file_name: string): string {
159 const modelDir = getModelDir(type as any, save_path);
160 return path.join(modelDir, file_name); // Add the appropriate value for getModelPath
161}
162
163const STABLE_DIFFUSION_MODEL_MAPPING_CONFIG_NAME = "a1111";
164export function createOrUpdateExtraConfigFileFromStableDiffusion(stableDiffusionPath?: string) {

Callers 4

installModelFunction · 0.90
downloadDefaultModelFunction · 0.90
bugfixForWrongModelNameFunction · 0.90
ApiRouteInstallModelFunction · 0.90

Calls 1

getModelDirFunction · 0.85

Tested by

no test coverage detected