Let MOSS use the same LoRA picker and chain those adapters onto its graph.
The picker was hidden and the API cleared every stack, so a selected MOSS job could not carry a LoRA. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -662,6 +662,7 @@ function buildMossGenerateWorkflow(params: ImageV2BuildParams) {
|
||||
setInput(graph, SAVE, 'filename_prefix', params.filenamePrefix || 'v2-moss')
|
||||
|
||||
assertImageV2Graph(graph, 'generate', undefined, 'moss')
|
||||
const userLoras = applyImageV2UserLoras(graph, imageV2UserStack(params, 'moss'), 'moss')
|
||||
const loaders = loadImageNames(graph)
|
||||
console.log(JSON.stringify({
|
||||
src: 'image-v2',
|
||||
@@ -678,6 +679,7 @@ function buildMossGenerateWorkflow(params: ImageV2BuildParams) {
|
||||
},
|
||||
shift: IMAGE_V2_MOSS_SHIFT,
|
||||
slg: IMAGE_V2_MOSS_SLG_LAYER,
|
||||
loras: { user: userLoras },
|
||||
upsampler: false,
|
||||
steps,
|
||||
cfg,
|
||||
|
||||
Reference in New Issue
Block a user