LiangLabUMB commited on
Commit
60a26e0
·
verified ·
1 Parent(s): 334f44c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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) {{