Eliminate xAIGen and LTX; AIGen is the only studio.
Drop the studio split, backup-to-xAIGen link, and LTX engine option. Show all LoRAs on AIGen and remove the Photos show/hide inputs toggle so slots stay visible. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
type ImageV2Mode,
|
||||
type ImageV2Task
|
||||
} from '~/utils/imageV2'
|
||||
import { isXaigenStudio, type VideoWorkflowId } from '~/utils/videoModels'
|
||||
import type { VideoWorkflowId } from '~/utils/videoModels'
|
||||
import { restorePromptParts } from '~/utils/promptParts'
|
||||
|
||||
export type StillGenerationKind = 'image' | 'imagev2'
|
||||
@@ -102,7 +102,7 @@ function formatLoras(stack?: LoraStackItem[], name?: string) {
|
||||
function stillDisplayLoraStack(settings: StillGenerationSettings) {
|
||||
let stack = normalizeLoraStack(settings.loraStack || settings.loraName)
|
||||
const { snofs } = imageV2StackSpecials(stack, settings.engine)
|
||||
if (!snofs && isXaigenStudio() && (settings.snofsModel || settings.snofsClip)) {
|
||||
if (!snofs && (settings.snofsModel || settings.snofsClip)) {
|
||||
const name = imageV2ConceptLoraName(settings.engine || 'flux')
|
||||
if (name) stack = upsertImageV2Lora(stack, name, settings.snofsModel ?? 0, settings.snofsClip ?? 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user