MCPcopy
hub / github.com/Anil-matcha/Open-Generative-AI / getCurrentModels

Function getCurrentModels

src/components/ImageStudio.js:66–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 let showToolsPanel = false;
65
66 const getCurrentModels = () => imageMode ? i2iModels : t2iModels;
67 const getCurrentAspectRatios = (id) => imageMode ? getAspectRatiosForI2IModel(id) : getAspectRatiosForModel(id);
68 const getCurrentResolutions = (id) => imageMode ? getResolutionsForI2IModel(id) : getResolutionsForModel(id);
69 const getCurrentQualityField = (id) => imageMode ? getQualityFieldForI2IModel(id) : getQualityFieldForModel(id);

Callers 2

renderModelsFunction · 0.70
VideoStudioFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected