Spaces:
Running
on
Zero
Running
on
Zero
Update share_btn.py
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
|
@@ -38,7 +38,7 @@ share_js = """async () => {
|
|
| 38 |
}
|
| 39 |
|
| 40 |
const gradioEl = document.querySelector("gradio-app").shadowRoot || document.querySelector('body > gradio-app');
|
| 41 |
-
const inputImgEl = gradioEl.querySelector('#
|
| 42 |
const outputTxt = gradioEl.querySelector('#story textarea').value;
|
| 43 |
|
| 44 |
const shareBtnEl = gradioEl.querySelector('#share-btn');
|
|
|
|
| 38 |
}
|
| 39 |
|
| 40 |
const gradioEl = document.querySelector("gradio-app").shadowRoot || document.querySelector('body > gradio-app');
|
| 41 |
+
const inputImgEl = gradioEl.querySelector('#image-in img');
|
| 42 |
const outputTxt = gradioEl.querySelector('#story textarea').value;
|
| 43 |
|
| 44 |
const shareBtnEl = gradioEl.querySelector('#share-btn');
|