Eyalgut commited on
Commit
e976e07
1 Parent(s): bff1c38

Update app.py

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