DetGC commited on
Commit
69bfa32
·
verified ·
1 Parent(s): 6e6ea02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -236,12 +236,15 @@ with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', fill_width=True, css=CSS) as demo:
236
 
237
  js_AutoSave="""
238
  <script>
239
- var img1 = document.querySelector("div#component-351 .svelte-1kpcxni button.svelte-1kpcxni .svelte-1kpcxni img"),
 
 
 
240
  observer = new MutationObserver((changes) => {
241
  changes.forEach(change => {
242
  if(change.attributeName.includes('src')){
243
  console.log(img1.src);
244
- document.querySelector("div#component-351 .svelte-1kpcxni .svelte-sr71km a.svelte-1s8vnbx button").click();
245
  }
246
  });
247
  });
 
236
 
237
  js_AutoSave="""
238
  <script>
239
+
240
+ console.log("Yo");
241
+
242
+ var img1 = document.querySelector("div#component-355 .svelte-1kpcxni button.svelte-1kpcxni .svelte-1kpcxni img"),
243
  observer = new MutationObserver((changes) => {
244
  changes.forEach(change => {
245
  if(change.attributeName.includes('src')){
246
  console.log(img1.src);
247
+ document.querySelector("div#component-355 .svelte-1kpcxni .svelte-sr71km a.svelte-1s8vnbx button").click();
248
  }
249
  });
250
  });