Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -379,8 +379,8 @@ with gr.Blocks(css=css) as demo:
|
|
379 |
pl_a[i] = parseInt(pl_a[i]) * 2 + 1;
|
380 |
}
|
381 |
document.getElementsByTagName(\"textarea\")[1].value = pl_a.join(\" \");
|
382 |
-
var evt = document.createEvent(
|
383 |
-
evt.initEvent(
|
384 |
document.getElementsByTagName(\"textarea\")[1].dispatchEvent(evt);
|
385 |
this.style.borderBottom = \"1px dotted black\";
|
386 |
}
|
|
|
379 |
pl_a[i] = parseInt(pl_a[i]) * 2 + 1;
|
380 |
}
|
381 |
document.getElementsByTagName(\"textarea\")[1].value = pl_a.join(\" \");
|
382 |
+
var evt = document.createEvent(\"Event\");
|
383 |
+
evt.initEvent(\"input\", true, false);
|
384 |
document.getElementsByTagName(\"textarea\")[1].dispatchEvent(evt);
|
385 |
this.style.borderBottom = \"1px dotted black\";
|
386 |
}
|