File size: 1,283 Bytes
4e5ea86 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
//inputs
const yourKy = document.querySelector("#yourKy");
const text = document.querySelector("#text");
//others
const hintIcon = document.querySelector("#hint-icon");
const hintContent = document.querySelector("#hint-content");
//call to actions
const chooseModel = document.querySelector("#chooseModel");
const btn = document.querySelector("#btn");
const downloadBtn = document.querySelector("#downloadBtn");
const togglePassword = document.querySelector("#toggle-password");
//outputs
const modelInfo = document.querySelector("#model-info-text"); // Get the model info div
const loader = document.querySelector("#loader");
const img = document.querySelector("#img");
const historyContainer = document.querySelector("#history");
// ===============data=============
const modelDetails = {
"Melonie/text_to_image_finetuned":
"These are LoRA adaption weights for runwayml/stable-diffusion-v1-5. The weights were fine-tuned on the lambdalabs/pokemon-blip-captions dataset.",
"mann-e/Mann-E_Dreams":
"This is the newest SDXL based model from Mann-E platform, which is a generative AI startup based in Iran. ",
"alvdansen/midsommarcartoon":
"A retro-style cartoon print model that blends a bit of an anime influence with classic northern european cartoons.",
};
|