Spaces:
Runtime error
Runtime error
Update share_btn.py
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -195,7 +195,7 @@ share_js = """async () => {
|
|
195 |
});
|
196 |
|
197 |
const paramsStr = params.toString();
|
198 |
-
window.open(
|
199 |
|
200 |
shareBtnEl.style.removeProperty('pointer-events');
|
201 |
shareIconEl.style.removeProperty('display');
|
|
|
195 |
});
|
196 |
|
197 |
const paramsStr = params.toString();
|
198 |
+
window.open(`https://huggingface.co/spaces/openai/whisper/discussions/new?${paramsStr}`, '_blank');
|
199 |
|
200 |
shareBtnEl.style.removeProperty('pointer-events');
|
201 |
shareIconEl.style.removeProperty('display');
|