Spaces:
Runtime error
Runtime error
fix sharing to community url (#2)
Browse files- fix sharing to community url (f366dfa7d5d46de0957a8fb15e43e094995f723e)
Co-authored-by: 🤗 <clem@users.noreply.huggingface.co>
- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -60,7 +60,7 @@ ${htmlImgs.join(`\n`)}
|
|
60 |
});
|
61 |
|
62 |
const paramsStr = params.toString();
|
63 |
-
window.open(`https://huggingface.co/spaces/
|
64 |
|
65 |
shareBtnEl.style.removeProperty('pointer-events');
|
66 |
shareIconEl.style.removeProperty('display');
|
|
|
60 |
});
|
61 |
|
62 |
const paramsStr = params.toString();
|
63 |
+
window.open(`https://huggingface.co/spaces/runwayml/stable-diffusion-v1-5/discussions/new?${paramsStr}`, '_blank');
|
64 |
|
65 |
shareBtnEl.style.removeProperty('pointer-events');
|
66 |
shareIconEl.style.removeProperty('display');
|