multimodalart HF staff commited on
Commit
981c542
1 Parent(s): 5715833

Update share_btn.py

Browse files
Files changed (1) hide show
  1. share_btn.py +2 -2
share_btn.py CHANGED
@@ -64,11 +64,11 @@ ${inputPrompt}
64
  <img src="${outputImgEl}" />
65
  `;
66
  const params = new URLSearchParams({
67
- title: "${inputPrompt}",
68
  preview: true
69
  });
70
  const paramsStr = params.toString();
71
- window.open(`https://huggingface.co/spaces/multimodalart/lora-the-explorer/discussions/new?${paramsStr}`, '_blank');
72
  shareBtnEl.style.removeProperty('pointer-events');
73
  shareIconEl.style.removeProperty('display');
74
  loadingIconEl.style.display = 'none';
 
64
  <img src="${outputImgEl}" />
65
  `;
66
  const params = new URLSearchParams({
67
+ title: inputPrompt,
68
  preview: true
69
  });
70
  const paramsStr = params.toString();
71
+ window.open(`https://huggingface.co/spaces/multimodalart/LoraTheExplorer/discussions/new?${paramsStr}`, '_blank');
72
  shareBtnEl.style.removeProperty('pointer-events');
73
  shareIconEl.style.removeProperty('display');
74
  loadingIconEl.style.display = 'none';