Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ ratios_map = {
|
|
25 |
1.75:{"width":1344,"height":768},
|
26 |
2.00:{"width":1408,"height":704}
|
27 |
}
|
28 |
-
ratios = np.array(ratios_map.keys())
|
29 |
|
30 |
def get_size(init_image):
|
31 |
w,h=init_image.size
|
|
|
25 |
1.75:{"width":1344,"height":768},
|
26 |
2.00:{"width":1408,"height":704}
|
27 |
}
|
28 |
+
ratios = np.array(list(ratios_map.keys()))
|
29 |
|
30 |
def get_size(init_image):
|
31 |
w,h=init_image.size
|