sarahciston commited on
Commit
ebbc449
·
verified ·
1 Parent(s): 76061be
Files changed (1) hide show
  1. sketch.js +2 -5
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
  });