Spaces:
Running
on
T4
Running
on
T4
Sylvain Filoni
commited on
Commit
•
877fa53
1
Parent(s):
2dfc65f
wrong textarea value
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -56,7 +56,7 @@ share_js = """async () => {
|
|
56 |
}
|
57 |
const gradioEl = document.querySelector('body > gradio-app');
|
58 |
// const gradioEl = document.querySelector("gradio-app").shadowRoot;
|
59 |
-
const inputPromptEl = gradioEl.querySelector('#prompt-in').value;
|
60 |
const outputImgEl = gradioEl.querySelector('#img-out img');
|
61 |
const outputMusic = gradioEl.querySelector('#music-out audio');
|
62 |
const outputMusic_src = gradioEl.querySelector('#music-out audio').src;
|
|
|
56 |
}
|
57 |
const gradioEl = document.querySelector('body > gradio-app');
|
58 |
// const gradioEl = document.querySelector("gradio-app").shadowRoot;
|
59 |
+
const inputPromptEl = gradioEl.querySelector('#prompt-in textarea').value;
|
60 |
const outputImgEl = gradioEl.querySelector('#img-out img');
|
61 |
const outputMusic = gradioEl.querySelector('#music-out audio');
|
62 |
const outputMusic_src = gradioEl.querySelector('#music-out audio').src;
|