Add MOSS-Image on the Image v2 path and stop the queue calling it Klein.
The bench queue labeled every engine except Krea, Qwen, MiniMax, and LTX as Klein, and the v2 starter treated any engine other than Krea as Flux. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -206,7 +206,7 @@ const props = withDefaults(defineProps<{
|
||||
clipStrength?: boolean
|
||||
triggers?: Record<string, string>
|
||||
aliases?: Record<string, string>
|
||||
engine?: 'flux' | 'krea' | ''
|
||||
engine?: 'flux' | 'krea' | 'moss' | ''
|
||||
use?: LoraUse
|
||||
}>(), {
|
||||
label: 'LoRA',
|
||||
@@ -234,7 +234,7 @@ const dragOverIndex = ref<number | null>(null)
|
||||
|
||||
const availableNames = computed(() => {
|
||||
const taken = new Set(model.value.map(item => loraIdentityKey(item.name)))
|
||||
const engine = props.engine === 'flux' || props.engine === 'krea' ? props.engine : null
|
||||
const engine = props.engine === 'flux' || props.engine === 'krea' || props.engine === 'moss' ? props.engine : null
|
||||
return props.names
|
||||
.filter(name => !taken.has(loraIdentityKey(name)))
|
||||
.filter(name => props.use ? loraMatchesUse(name, props.use) : !engine || loraMatchesImageEngine(name, engine))
|
||||
|
||||
Reference in New Issue
Block a user