Abrahamau commited on
Commit
17b8f65
·
verified ·
1 Parent(s): 0c13c68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def guessanImage(image):
16
  imgclassifier = pipeline("image-classification", model=model)
17
  if image is not None:
18
  # b64img = base64.b64encode(image.getvalue()).decode()
19
- imgclassifier(b64img)
20
 
21
  return description
22
 
 
16
  imgclassifier = pipeline("image-classification", model=model)
17
  if image is not None:
18
  # b64img = base64.b64encode(image.getvalue()).decode()
19
+ imgclassifier(image)
20
 
21
  return description
22