Update share_btn.py
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -55,7 +55,7 @@ share_js = """async () => {
|
|
55 |
});
|
56 |
}
|
57 |
const gradioEl = document.querySelector("gradio-app").shadowRoot || document.querySelector('body > gradio-app');
|
58 |
-
const captionTxt = gradioEl.querySelector('#text-caption
|
59 |
const inputImgEl = gradioEl.querySelector('#input-img img');
|
60 |
const outputSound = gradioEl.querySelector('#sound-output video');
|
61 |
const outputSound_src = gradioEl.querySelector('#sound-output video').src;
|
|
|
55 |
});
|
56 |
}
|
57 |
const gradioEl = document.querySelector("gradio-app").shadowRoot || document.querySelector('body > gradio-app');
|
58 |
+
const captionTxt = gradioEl.querySelector('#text-caption textarea').value;
|
59 |
const inputImgEl = gradioEl.querySelector('#input-img img');
|
60 |
const outputSound = gradioEl.querySelector('#sound-output video');
|
61 |
const outputSound_src = gradioEl.querySelector('#sound-output video').src;
|