Pharma mishig HF staff commited on
Commit
de667db
1 Parent(s): 1904759

Fix share btn (#12)

Browse files

- Fix share btn (225a0d838982e240859665cc9ef9ad6a7df931e3)


Co-authored-by: Mishig Davaadorj <mishig@users.noreply.huggingface.co>

Files changed (1) hide show
  1. share_btn.py +1 -1
share_btn.py CHANGED
@@ -92,7 +92,7 @@ ${htmlImgsMd}
92
  });
93
 
94
  const paramsStr = params.toString();
95
- window.open(`${window.location.href}/discussions/new?${paramsStr}`, '_blank');
96
 
97
  shareBtnEl.style.removeProperty('pointer-events');
98
  shareIconEl.style.removeProperty('display');
 
92
  });
93
 
94
  const paramsStr = params.toString();
95
+ window.open(`https://huggingface.co/spaces/pharma/sd-perception/discussions/new?${paramsStr}`, '_blank');
96
 
97
  shareBtnEl.style.removeProperty('pointer-events');
98
  shareIconEl.style.removeProperty('display');