Skip to content

Commit 867dbe5

Browse files
fix(ui): extend lora weight schema to accept full range of weights
This could cause a failure to rehydrate LoRA state, or failure to recall a LoRA. Closes #8551
1 parent ff8948b commit 867dbe5

File tree

1 file changed

+1
-1
lines changed
  • invokeai/frontend/web/src/features/controlLayers/store

1 file changed

+1
-1
lines changed

invokeai/frontend/web/src/features/controlLayers/store/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ export const zLoRA = z.object({
470470
id: z.string(),
471471
isEnabled: z.boolean(),
472472
model: zModelIdentifierField,
473-
weight: z.number().gte(-1).lte(2),
473+
weight: z.number().gte(-10).lte(10),
474474
});
475475
export type LoRA = z.infer<typeof zLoRA>;
476476

0 commit comments

Comments
 (0)