bhushanp commited on
Commit
2965377
·
verified ·
1 Parent(s): 0c1dd68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ mood = load_learner("./models/mood.pkl")
20
  # Function to make predictions from an image
21
  def process(imagep):
22
  boxes = detect.predict(imagep)
23
- image = Image.open(image)
24
  image_with_boxes = image.copy()
25
 
26
  draw = ImageDraw.Draw(image_with_boxes)
 
20
  # Function to make predictions from an image
21
  def process(imagep):
22
  boxes = detect.predict(imagep)
23
+ image = Image.open(imagep)
24
  image_with_boxes = image.copy()
25
 
26
  draw = ImageDraw.Draw(image_with_boxes)