Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ const monitorImageChange = (imageElement) => {
|
|
152 |
|
153 |
// Start monitoring after page load
|
154 |
window.addEventListener('load', () => {
|
155 |
-
const img = document.querySelector('
|
156 |
if (img) {
|
157 |
monitorImageChange(img);
|
158 |
} else {
|
|
|
152 |
|
153 |
// Start monitoring after page load
|
154 |
window.addEventListener('load', () => {
|
155 |
+
const img = document.querySelector('svelte-1pijsyv'); // Select the target image element
|
156 |
if (img) {
|
157 |
monitorImageChange(img);
|
158 |
} else {
|