fffiloni commited on
Commit
2308e19
1 Parent(s): fcf616e

fixed typo

Browse files
Files changed (1) hide show
  1. share_btn.py +1 -1
share_btn.py CHANGED
@@ -40,7 +40,7 @@ share_js = """async () => {
40
  const gradioEl = document.querySelector("gradio-app").shadowRoot || document.querySelector('body > gradio-app');
41
  const inputImgEl = gradioEl.querySelector('#image-in img');
42
  const outputTxt = gradioEl.querySelector('#story textarea').value;
43
- const wordsArray = outpuTxt.split(" ");
44
  const firstSevenWords = wordsArray.slice(0, 7).join(" ");
45
 
46
  const shareBtnEl = gradioEl.querySelector('#share-btn');
 
40
  const gradioEl = document.querySelector("gradio-app").shadowRoot || document.querySelector('body > gradio-app');
41
  const inputImgEl = gradioEl.querySelector('#image-in img');
42
  const outputTxt = gradioEl.querySelector('#story textarea').value;
43
+ const wordsArray = outputTxt.split(" ");
44
  const firstSevenWords = wordsArray.slice(0, 7).join(" ");
45
 
46
  const shareBtnEl = gradioEl.querySelector('#share-btn');