MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / init

Function init

data/scripts/examples/ai.js:198–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196 });
197
198 function init() {
199 if (!ai.settings.model &&
200 ai.settings.easydiffusion["stable-diffusion"] &&
201 ai.settings.easydiffusion["stable-diffusion"].length) {
202 ai.settings.model = ai.settings.easydiffusion["stable-diffusion"][0];
203 }
204 }
205 },
206
207 render:function(obj, cb) {

Callers 5

ai.jsFile · 0.70
SDL2DisplayMethod · 0.50
FilterManagerImplMethod · 0.50
applyToCelMethod · 0.50
cfginitFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected