Spaces:
Paused
Paused
Update share_btn.py
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -57,7 +57,7 @@ share_js = """async () => {
|
|
57 |
const gradioEl = document.querySelector('body > gradio-app');
|
58 |
// const gradioEl = document.querySelector("gradio-app").shadowRoot;
|
59 |
const inputImgEl = gradioEl.querySelector('#input-img img');
|
60 |
-
const prompts = gradioEl.querySelector('#
|
61 |
const outputMusic = gradioEl.querySelector('#music-output audio');
|
62 |
const outputMusic_src = gradioEl.querySelector('#music-output audio').src;
|
63 |
const outputMusic_name = outputMusic_src.split('/').pop();
|
|
|
57 |
const gradioEl = document.querySelector('body > gradio-app');
|
58 |
// const gradioEl = document.querySelector("gradio-app").shadowRoot;
|
59 |
const inputImgEl = gradioEl.querySelector('#input-img img');
|
60 |
+
const prompts = gradioEl.querySelector('#prompts_out textarea').value;
|
61 |
const outputMusic = gradioEl.querySelector('#music-output audio');
|
62 |
const outputMusic_src = gradioEl.querySelector('#music-output audio').src;
|
63 |
const outputMusic_name = outputMusic_src.split('/').pop();
|