rein0421 commited on
Commit
ff0deb8
·
verified ·
1 Parent(s): bb7504c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -875,8 +875,8 @@ async def read_root():
875
  reader.onload = function(e) {
876
  const img = new Image();
877
  img.onload = function() {
878
- const maxWidth = 860;
879
- const maxHeight = 860;
880
  let width = img.width;
881
  let height = img.height;
882
  if (width > maxWidth || height > maxHeight) {
 
875
  reader.onload = function(e) {
876
  const img = new Image();
877
  img.onload = function() {
878
+ const maxWidth = 640;
879
+ const maxHeight = 640;
880
  let width = img.width;
881
  let height = img.height;
882
  if (width > maxWidth || height > maxHeight) {