Fix as part of merging main in

This commit is contained in:
Brandon Rising 2023-07-18 23:05:33 -04:00
parent ee7b36cea5
commit f4e52fafac
12 changed files with 4 additions and 1234 deletions

View File

@ -36,6 +36,7 @@ MODEL_CLASSES = {
ModelType.Lora: LoRAModel,
ModelType.ControlNet: ControlNetModel,
ModelType.TextualInversion: TextualInversionModel,
ModelType.ONNX: ONNXStableDiffusion2Model,
},
BaseModelType.StableDiffusionXLRefiner: {
ModelType.Main: StableDiffusionXLModel,
@ -44,6 +45,7 @@ MODEL_CLASSES = {
ModelType.Lora: LoRAModel,
ModelType.ControlNet: ControlNetModel,
ModelType.TextualInversion: TextualInversionModel,
ModelType.ONNX: ONNXStableDiffusion2Model,
},
#BaseModelType.Kandinsky2_1: {
# ModelType.Main: Kandinsky2_1Model,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@
margin: 0;
}
</style>
<script type="module" crossorigin src="./assets/index-adc79457.js"></script>
<script type="module" crossorigin src="./assets/index-47aae25c.js"></script>
</head>
<body dir="ltr">

View File

@ -14,6 +14,7 @@ export const modelIdToMainModelParam = (
const result = zMainModel.safeParse({
base_model,
model_name,
model_type,
});
if (!result.success) {