Abrahamau commited on
Commit
5d7c9cd
·
verified ·
1 Parent(s): 17b8f65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -15,9 +15,7 @@ def guessanImage(image):
15
 
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
 
23
  demo = gr.Interface(
 
15
 
16
  imgclassifier = pipeline("image-classification", model=model)
17
  if image is not None:
18
+ description = imgclassifier(image)
 
 
19
  return description
20
 
21
  demo = gr.Interface(