Update share_btn.py
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -66,7 +66,7 @@ share_js = """async () => {
|
|
66 |
const shareBtnEl = gradioEl.querySelector('#share-btn');
|
67 |
const shareIconEl = gradioEl.querySelector('#share-btn-share-icon');
|
68 |
const loadingIconEl = gradioEl.querySelector('#share-btn-loading-icon');
|
69 |
-
if(!
|
70 |
return;
|
71 |
};
|
72 |
shareBtnEl.style.pointerEvents = 'none';
|
|
|
66 |
const shareBtnEl = gradioEl.querySelector('#share-btn');
|
67 |
const shareIconEl = gradioEl.querySelector('#share-btn-share-icon');
|
68 |
const loadingIconEl = gradioEl.querySelector('#share-btn-loading-icon');
|
69 |
+
if(!outputSound){
|
70 |
return;
|
71 |
};
|
72 |
shareBtnEl.style.pointerEvents = 'none';
|