Spaces:
Running
Running
json typo
Browse files
sketch.js
CHANGED
@@ -41,9 +41,9 @@ async function textImgTask(prompt){
|
|
41 |
|
42 |
const res = await fetch(URL, {
|
43 |
method: "POST",
|
44 |
-
body: JSON.stringify({"data": options })
|
45 |
headers: {
|
46 |
-
"Content-Type": "application/json"
|
47 |
}
|
48 |
})
|
49 |
|
@@ -295,6 +295,3 @@ new p5(function (p5){
|
|
295 |
//
|
296 |
}
|
297 |
});
|
298 |
-
|
299 |
-
|
300 |
-
|
|
|
41 |
|
42 |
const res = await fetch(URL, {
|
43 |
method: "POST",
|
44 |
+
body: JSON.stringify({"data": options }),
|
45 |
headers: {
|
46 |
+
"Content-Type": "application/json"
|
47 |
}
|
48 |
})
|
49 |
|
|
|
295 |
//
|
296 |
}
|
297 |
});
|
|
|
|
|
|