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