multimodalart HF staff commited on
Commit
8d4f90a
·
1 Parent(s): b2cc814

Update share_btn.py

Browse files
Files changed (1) hide show
  1. share_btn.py +1 -2
share_btn.py CHANGED
@@ -36,12 +36,11 @@ share_js = """async () => {
36
  return new File([blob], fileName, { type: 'image/jpeg' });
37
  }
38
  }
39
- console.log("test")
40
  const gradioEl = document.querySelector("gradio-app").shadowRoot || document.querySelector('body > gradio-app');
41
  const randomLoRA_1 = gradioEl.querySelector('#component-7 img');
42
  const randomLoRA_1_title = gradioEl.querySelector('#component-7 [data-testid="block-label"] span').innerHTML
43
  const randomLoRA_2 = gradioEl.querySelector('#component-7 img')
44
- const randomLoRA_2_title = gradioEl.querySelector('component-7 [data-testid="block-label"] span').innerHTML
45
  const prompt = gradioEl.querySelector('#prompt textarea').value
46
  const outputImgEl = gradioEl.querySelector('#component-22 img');
47
 
 
36
  return new File([blob], fileName, { type: 'image/jpeg' });
37
  }
38
  }
 
39
  const gradioEl = document.querySelector("gradio-app").shadowRoot || document.querySelector('body > gradio-app');
40
  const randomLoRA_1 = gradioEl.querySelector('#component-7 img');
41
  const randomLoRA_1_title = gradioEl.querySelector('#component-7 [data-testid="block-label"] span').innerHTML
42
  const randomLoRA_2 = gradioEl.querySelector('#component-7 img')
43
+ const randomLoRA_2_title = gradioEl.querySelector('#component-7 [data-testid="block-label"] span').innerHTML
44
  const prompt = gradioEl.querySelector('#prompt textarea').value
45
  const outputImgEl = gradioEl.querySelector('#component-22 img');
46