Update app.py
Browse files
app.py
CHANGED
|
@@ -728,7 +728,7 @@ def make_crop_canvas_html(tab_idx):
|
|
| 728 |
function getPtsTextbox() {{
|
| 729 |
// Gradio hides the real <textarea> inside a wrapper. Find by elem id.
|
| 730 |
return document.getElementById(PTS_ID)?.querySelector("textarea")
|
| 731 |
-
|| document.querySelector(`#${PTS_ID} textarea`);
|
| 732 |
}}
|
| 733 |
|
| 734 |
function writePts(pts_orig) {{
|
|
|
|
| 728 |
function getPtsTextbox() {{
|
| 729 |
// Gradio hides the real <textarea> inside a wrapper. Find by elem id.
|
| 730 |
return document.getElementById(PTS_ID)?.querySelector("textarea")
|
| 731 |
+
|| document.querySelector(`#${{PTS_ID}} textarea`);
|
| 732 |
}}
|
| 733 |
|
| 734 |
function writePts(pts_orig) {{
|