Spaces:
Sleeping
Sleeping
Update share_btn.py
Browse files- share_btn.py +2 -0
share_btn.py
CHANGED
@@ -34,6 +34,8 @@ share_js = """async () => {
|
|
34 |
}
|
35 |
|
36 |
const gradioEl = document.querySelector("gradio-app").shadowRoot || document.querySelector('body > gradio-app');
|
|
|
|
|
37 |
const captionTxt = gradioEl.querySelector('#prompt-in textarea').value;
|
38 |
const outputVideo = gradioEl.querySelector('#video-output video');
|
39 |
|
|
|
34 |
}
|
35 |
|
36 |
const gradioEl = document.querySelector("gradio-app").shadowRoot || document.querySelector('body > gradio-app');
|
37 |
+
const imageInit = gradioEl.querySelector('#image-init img');
|
38 |
+
|
39 |
const captionTxt = gradioEl.querySelector('#prompt-in textarea').value;
|
40 |
const outputVideo = gradioEl.querySelector('#video-output video');
|
41 |
|