Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -878,8 +878,8 @@ async def read_root():
|
|
878 |
reader.onload = function(e) {
|
879 |
const img = new Image();
|
880 |
img.onload = function() {
|
881 |
-
const maxWidth =
|
882 |
-
const maxHeight =
|
883 |
let width = img.width;
|
884 |
let height = img.height;
|
885 |
|
|
|
878 |
reader.onload = function(e) {
|
879 |
const img = new Image();
|
880 |
img.onload = function() {
|
881 |
+
const maxWidth = 600;
|
882 |
+
const maxHeight = 600;
|
883 |
let width = img.width;
|
884 |
let height = img.height;
|
885 |
|