MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / isChromaModel

Function isChromaModel

ui/media/js/main.js:1934–1939  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1932}
1933
1934function isChromaModel() {
1935 let sdModel = stableDiffusionModelField.value
1936 let tags = modelsDB["stable-diffusion"][sdModel]?.tags || []
1937 let isChroma = tags.includes("chroma")
1938 return isChroma
1939}
1940
1941function checkAndSetDependentModels() {
1942 if (!modelsDB) {

Callers 6

checkGuidanceValueFunction · 0.85
checkFluxSamplerFunction · 0.85
checkFluxSchedulerFunction · 0.85
checkFluxSchedulerStepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected