Spaces:
Runtime error
Runtime error
Change share link
Browse files- share_btn.py +2 -2
share_btn.py
CHANGED
@@ -53,8 +53,8 @@ ${htmlImgs.join(`\n`)}
|
|
53 |
description: descriptionMd,
|
54 |
});
|
55 |
const paramsStr = params.toString();
|
56 |
-
window.open(`https://huggingface.co/spaces/
|
57 |
shareBtnEl.style.removeProperty('pointer-events');
|
58 |
shareIconEl.style.removeProperty('display');
|
59 |
loadingIconEl.style.display = 'none';
|
60 |
-
}"""
|
|
|
53 |
description: descriptionMd,
|
54 |
});
|
55 |
const paramsStr = params.toString();
|
56 |
+
window.open(`https://huggingface.co/spaces/pcuenq/sdxl/discussions/new?${paramsStr}`, '_blank');
|
57 |
shareBtnEl.style.removeProperty('pointer-events');
|
58 |
shareIconEl.style.removeProperty('display');
|
59 |
loadingIconEl.style.display = 'none';
|
60 |
+
}"""
|