guru001 commited on
Commit
c9644ce
1 Parent(s): 4968292

PIL removed

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from yolo.model import *
6
  model = yolo_model()
7
 
8
  def predict(input_img):
9
- input_img = Image.fromarray(input_img)
10
  _, payload = model.predict(input_img)
11
  # print('prediction',prediction)
12
  return payload
 
6
  model = yolo_model()
7
 
8
  def predict(input_img):
9
+ # input_img = Image.fromarray(input_img)
10
  _, payload = model.predict(input_img)
11
  # print('prediction',prediction)
12
  return payload