Spaces:
Runtime error
Runtime error
xyplon
commited on
Commit
•
6b7a885
1
Parent(s):
9367645
Update static/models.js
Browse files- static/models.js +3 -3
static/models.js
CHANGED
@@ -111,7 +111,7 @@ btn.onclick = async () => {
|
|
111 |
|
112 |
|
113 |
|
114 |
-
async function generateImage(
|
115 |
var params = {
|
116 |
'prompt': prompt.value,
|
117 |
'negative': negativePrompt.value,
|
@@ -194,7 +194,7 @@ btn.onclick = async () => {
|
|
194 |
console.error(error);
|
195 |
}
|
196 |
}
|
197 |
-
generateImage(
|
198 |
-
generateImage(
|
199 |
}
|
200 |
|
|
|
111 |
|
112 |
|
113 |
|
114 |
+
async function generateImage() {
|
115 |
var params = {
|
116 |
'prompt': prompt.value,
|
117 |
'negative': negativePrompt.value,
|
|
|
194 |
console.error(error);
|
195 |
}
|
196 |
}
|
197 |
+
generateImage()
|
198 |
+
generateImage()
|
199 |
}
|
200 |
|