Skip to content

Commit

Permalink
run linter and formatter
Browse files Browse the repository at this point in the history
Signed-off-by: julianbollig <[email protected]>
  • Loading branch information
julianbollig committed Jan 30, 2025
1 parent daa4d2d commit 6b51cec
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions WebUI/src/assets/js/store/imageGeneration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,7 @@ export const useImageGeneration = defineStore(
lora: 'latent-consistency/lcm-lora-sdxl',
},
displayedSettings: ['imageModel', 'inpaintModel', 'guidanceScale', 'scheduler'],
modifiableSettings: [
'resolution',
'seed',
'inferenceSteps',
'batchSize',
'imagePreview',
],
modifiableSettings: ['resolution', 'seed', 'inferenceSteps', 'batchSize', 'imagePreview'],
},
{
name: 'Manual',
Expand Down Expand Up @@ -682,13 +676,15 @@ export const useImageGeneration = defineStore(
return -1
}
}

return {
type: modelTypeToId(requiredModel.type),
repo_id: requiredModel.model,
backend: 'comfyui',
additionalLicenseLink: requiredModel.additionalLicenceLink,
}
}

const checkList: CheckModelAlreadyLoadedParameters[] =
workflow.comfyUIRequirements.requiredModels.map(extractDownloadModelParamsFromString)
const checkedModels: CheckModelAlreadyLoadedResult[] =
Expand Down

0 comments on commit 6b51cec

Please sign in to comment.