Load only the LoRAs the user picked on Klein; do not require snofs.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import template from '../assets/workflow_flux2_klein_edit.json'
|
||||
import { applyUserLoraToGraph } from '~/server/utils/loras'
|
||||
import { applyOptionalLoraLoaders } from '~/server/utils/loras'
|
||||
import type { LoraStackItem } from '~/utils/loras'
|
||||
|
||||
const IMAGE1 = '76'
|
||||
@@ -65,7 +65,8 @@ export function buildEditWorkflow(params: EditParams) {
|
||||
if (dual ? singleNode : dualNode) delete graph[id]
|
||||
}
|
||||
|
||||
applyUserLoraToGraph(graph, params.loraStack || params.loraName)
|
||||
// User LoRAs only. Empty stack bypasses the optional LoraLoader (no snofs default).
|
||||
applyOptionalLoraLoaders(graph, params.loraStack || params.loraName, 'image')
|
||||
return graph
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user