fffiloni commited on
Commit
1592d27
โ€ข
1 Parent(s): 70fd6f2

Update share_btn.py

Browse files
Files changed (1) hide show
  1. 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('#prompt-in 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();
 
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();