(type: string, save_path: string, file_name: string)
| 156 | } |
| 157 | |
| 158 | export 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 | |
| 163 | const STABLE_DIFFUSION_MODEL_MAPPING_CONFIG_NAME = "a1111"; |
| 164 | export function createOrUpdateExtraConfigFileFromStableDiffusion(stableDiffusionPath?: string) { |
no test coverage detected