guru001 commited on
Commit
4968292
1 Parent(s): 302e878

input_img added

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ model = yolo_model()
7
 
8
  def predict(input_img):
9
  input_img = Image.fromarray(input_img)
10
- _, payload = model.predict(image)
11
  # print('prediction',prediction)
12
  return payload
13
 
 
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
13