Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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(
|