fffiloni commited on
Commit
7e3e953
β€’
1 Parent(s): b184029

Update share_btn.py

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