ironjr commited on
Commit
ea9eea4
1 Parent(s): b4b56ea

Update share_btn.py

Browse files
Files changed (1) hide show
  1. share_btn.py +2 -2
share_btn.py CHANGED
@@ -48,7 +48,7 @@ share_js = """async () => {
48
  const urls = await Promise.all([...imgEls].map((imgEl) => {
49
  const origURL = imgEl.src;
50
  const imgId = Date.now() % 200;
51
- const fileName = 'semantic-palette-xl-' + imgId + '.png';
52
  return toDataURL(origURL)
53
  .then(dataUrl => {
54
  return dataURLtoFile(dataUrl, fileName);
@@ -66,5 +66,5 @@ ${htmlImgs.join(`\n`)}
66
  description: descriptionMd,
67
  });
68
  const paramsStr = params.toString();
69
- window.open(`https://huggingface.co/spaces/ironjr/SemanticPaletteXL/discussions/new?${paramsStr}`, '_blank');
70
  }"""
 
48
  const urls = await Promise.all([...imgEls].map((imgEl) => {
49
  const origURL = imgEl.src;
50
  const imgId = Date.now() % 200;
51
+ const fileName = 'stream-multi-diffusion-' + imgId + '.png';
52
  return toDataURL(origURL)
53
  .then(dataUrl => {
54
  return dataURLtoFile(dataUrl, fileName);
 
66
  description: descriptionMd,
67
  });
68
  const paramsStr = params.toString();
69
+ window.open(`https://huggingface.co/spaces/ironjr/StreamMultiDiffusion/discussions/new?${paramsStr}`, '_blank');
70
  }"""