Spaces:
Runtime error
Runtime error
Update share_btn.py
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
|
@@ -40,7 +40,7 @@ share_js = """async () => {
|
|
| 40 |
};
|
| 41 |
|
| 42 |
const gradioEl = document.querySelector('body > gradio-app');
|
| 43 |
-
const imgEls = gradioEl.querySelectorAll('#output-
|
| 44 |
if(!imgEls.length){
|
| 45 |
return;
|
| 46 |
};
|
|
|
|
| 40 |
};
|
| 41 |
|
| 42 |
const gradioEl = document.querySelector('body > gradio-app');
|
| 43 |
+
const imgEls = gradioEl.querySelectorAll('#output-history > button > button > img')
|
| 44 |
if(!imgEls.length){
|
| 45 |
return;
|
| 46 |
};
|