yizhangliu commited on
Commit
404ab51
·
1 Parent(s): 2e8b6a7

Update share_btn.py

Browse files
Files changed (1) hide show
  1. share_btn.py +1 -1
share_btn.py CHANGED
@@ -27,7 +27,7 @@ share_js = """async () => {
27
  gradioEl = document.querySelector('body > gradio-app');
28
  }
29
 
30
- const imgEls = gradioEl.querySelector('#gallery .overflow-hidden');
31
  const promptTxt = 'my perfect work';
32
  const shareBtnEl = gradioEl.querySelector('#share-btn');
33
  const shareIconEl = gradioEl.querySelector('#share-btn-share-icon');
 
27
  gradioEl = document.querySelector('body > gradio-app');
28
  }
29
 
30
+ const imgEls = gradioEl.querySelectorAll('#gallery .overflow-hidden');
31
  const promptTxt = 'my perfect work';
32
  const shareBtnEl = gradioEl.querySelector('#share-btn');
33
  const shareIconEl = gradioEl.querySelector('#share-btn-share-icon');