fix: remove base model from new machine settings
This commit is contained in:
parent
488d2aee8c
commit
66ad3ab4c2
@ -23,19 +23,7 @@ export const insertCustomMachineSchema = createInsertSchema(machinesTable, {
|
|||||||
},
|
},
|
||||||
file_custom_nodes: [],
|
file_custom_nodes: [],
|
||||||
}),
|
}),
|
||||||
models: (schema) =>
|
models: (schema) => schema.models.default([]),
|
||||||
schema.models.default([
|
|
||||||
{
|
|
||||||
name: "v1-5-pruned-emaonly.ckpt",
|
|
||||||
type: "checkpoints",
|
|
||||||
base: "SD1.5",
|
|
||||||
save_path: "default",
|
|
||||||
description: "Stable Diffusion 1.5 base model",
|
|
||||||
reference: "https://huggingface.co/runwayml/stable-diffusion-v1-5",
|
|
||||||
filename: "v1-5-pruned-emaonly.ckpt",
|
|
||||||
url: "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt",
|
|
||||||
},
|
|
||||||
]),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export const addCustomMachineSchema = insertCustomMachineSchema.pick({
|
export const addCustomMachineSchema = insertCustomMachineSchema.pick({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user