gonzalocordova commited on
Commit
9bdb201
·
1 Parent(s): 115c771

fix: predict_fn bug fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ transform = transforms.Compose([
19
  ])
20
 
21
 
22
- def predict_fn(image_path, raw_output=False):
23
  """
24
  This function will predict the class of an image
25
  :param image_path: The path of the image
 
19
  ])
20
 
21
 
22
+ def predict_fn(image, raw_output=False):
23
  """
24
  This function will predict the class of an image
25
  :param image_path: The path of the image