EgeEken commited on
Commit
0657aed
·
verified ·
1 Parent(s): d81e959

Update static/app.js

Browse files
Files changed (1) hide show
  1. static/app.js +1 -1
static/app.js CHANGED
@@ -164,7 +164,7 @@ async function startStream(p) {
164
  const blob = await (await fetch(p.img.src)).blob();
165
  const fd = new FormData();
166
  fd.append("image", blob, "src.png");
167
- fd.append("downsample_initialize", "false"); // build from a flat canvas
168
  const res = await fetch("/api/stream_compress", { method: "POST", body: fd, signal: ctrl.signal });
169
  const reader = res.body.getReader();
170
  const dec = new TextDecoder();
 
164
  const blob = await (await fetch(p.img.src)).blob();
165
  const fd = new FormData();
166
  fd.append("image", blob, "src.png");
167
+ fd.append("downsample_initialize", "true");
168
  const res = await fetch("/api/stream_compress", { method: "POST", body: fd, signal: ctrl.signal });
169
  const reader = res.body.getReader();
170
  const dec = new TextDecoder();