Uthar commited on
Commit
0f4b77b
·
verified ·
1 Parent(s): 80db697

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -156,9 +156,12 @@ function observeImageChanges() {
156
  }
157
 
158
  // Start observing
159
- observeImageChanges();
160
 
161
- console.log("Yo");
 
 
 
 
162
 
163
  </script>
164
  """
 
156
  }
157
 
158
  // Start observing
 
159
 
160
+
161
+ window.addEventListener('load', () => {
162
+ observeImageChanges();
163
+ console.log("Yo");
164
+ });
165
 
166
  </script>
167
  """