Spaces:
Runtime error
Runtime error
msg
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ model.summary()
|
|
13 |
def infer(image):
|
14 |
img = Image.fromarray(image)
|
15 |
# img = img.resize((100,100))
|
16 |
-
img = img.crop((0,100,0,100))
|
17 |
ycbcr = img.convert("YCbCr")
|
18 |
y, cb, cr = ycbcr.split()
|
19 |
y = img_to_array(y)
|
|
|
13 |
def infer(image):
|
14 |
img = Image.fromarray(image)
|
15 |
# img = img.resize((100,100))
|
16 |
+
# img = img.crop((0,100,0,100))
|
17 |
ycbcr = img.convert("YCbCr")
|
18 |
y, cb, cr = ycbcr.split()
|
19 |
y = img_to_array(y)
|