Spaces:
Starting
Starting
Update app.py
Browse files
app.py
CHANGED
@@ -975,8 +975,8 @@ with gr.Blocks(css=css, js=js) as demo:
|
|
975 |
}
|
976 |
}
|
977 |
pts_a[i] = parseInt((avg / div - 1) / 2) * 2 + 1;
|
978 |
-
document.getElementById(\"chart\").childNodes[i].style.height = pts_a[i] +
|
979 |
-
document.getElementById(\"chart\").childNodes[i].style.marginTop = (64-pts_a[i])/2 +
|
980 |
}
|
981 |
document.getElementById(\"blur_in\").getElementsByTagName(\"textarea\")[0].value = pts_a.join(\" \");
|
982 |
|
|
|
975 |
}
|
976 |
}
|
977 |
pts_a[i] = parseInt((avg / div - 1) / 2) * 2 + 1;
|
978 |
+
document.getElementById(\"chart\").childNodes[i].style.height = pts_a[i] + \"px\";
|
979 |
+
document.getElementById(\"chart\").childNodes[i].style.marginTop = (64-pts_a[i])/2 + \"px\";
|
980 |
}
|
981 |
document.getElementById(\"blur_in\").getElementsByTagName(\"textarea\")[0].value = pts_a.join(\" \");
|
982 |
|