Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Commit
•
9274913
1
Parent(s):
9234bc4
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ async () => {
|
|
99 |
|
100 |
globalThis.DELETE_SKETCH_FUNCTION = () => {
|
101 |
console.log("delete sketch function")
|
102 |
-
var button_del = document.querySelector('#input_image > div.image-container.svelte-
|
103 |
// Create a new 'click' event
|
104 |
var event = new MouseEvent('click', {
|
105 |
'view': window,
|
|
|
99 |
|
100 |
globalThis.DELETE_SKETCH_FUNCTION = () => {
|
101 |
console.log("delete sketch function")
|
102 |
+
var button_del = document.querySelector('#input_image > div.image-container.svelte-1sbaaot > div.controls-wrap.svelte-4lttvb > div > button:nth-child(3)');
|
103 |
// Create a new 'click' event
|
104 |
var event = new MouseEvent('click', {
|
105 |
'view': window,
|