Dvjc1899 commited on
Commit
1b559b8
·
1 Parent(s): 4bf66ef

Update app.py

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 = img.resize((300, 300))
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)