()
| 1932 | } |
| 1933 | |
| 1934 | function 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 | |
| 1941 | function checkAndSetDependentModels() { |
| 1942 | if (!modelsDB) { |
no outgoing calls
no test coverage detected