bhushanp commited on
Commit
144074e
1 Parent(s): caaf5d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def process(imagep):
33
  resized_image = cropped_image.resize((48, 48))
34
  grayscale_image = resized_image.convert('L')
35
 
36
- w = (y2+x2-y1-x1)//50
37
  pil_image = PILImage.create(grayscale_image)
38
  prediction = mood.predict(pil_image)
39
  # print(prediction)
 
33
  resized_image = cropped_image.resize((48, 48))
34
  grayscale_image = resized_image.convert('L')
35
 
36
+ w = 1 + (y2+x2-y1-x1)//50
37
  pil_image = PILImage.create(grayscale_image)
38
  prediction = mood.predict(pil_image)
39
  # print(prediction)