Dvjc1899 commited on
Commit
1248637
·
1 Parent(s): a12a922

Alpha version

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ model = from_pretrained_keras("Dvjc1899/super-resolution")
12
 
13
  def infer(image):
14
  img = Image.fromarray(image)
15
- img = Image.resize((100,100))
16
  ycbcr = img.convert("YCbCr")
17
  y, cb, cr = ycbcr.split()
18
  y = img_to_array(y)
 
12
 
13
  def infer(image):
14
  img = Image.fromarray(image)
15
+ img = img.resize((100,100))
16
  ycbcr = img.convert("YCbCr")
17
  y, cb, cr = ycbcr.split()
18
  y = img_to_array(y)