ironjr commited on
Commit
436ba5c
1 Parent(s): dfaaab3

Update share_btn.py

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
  };
41
 
42
  const gradioEl = document.querySelector('body > gradio-app');
43
- const imgEls = gradioEl.querySelectorAll('#output-screen img');
44
  if(!imgEls.length){
45
  return;
46
  };
 
40
  };
41
 
42
  const gradioEl = document.querySelector('body > gradio-app');
43
+ const imgEls = gradioEl.querySelectorAll('#output-history > button > button > img')
44
  if(!imgEls.length){
45
  return;
46
  };