Spaces:
Runtime error
Runtime error
Commit
·
98ec703
1
Parent(s):
ab65f9b
print results
Browse files
app.py
CHANGED
|
@@ -27,6 +27,7 @@ image_pipe = ImageClassificationPipeline(model=model, feature_extractor=feature_
|
|
| 27 |
|
| 28 |
def classify_image(image):
|
| 29 |
results = image_pipe(image)
|
|
|
|
| 30 |
# convert to format Gradio expects
|
| 31 |
output = {}
|
| 32 |
for prediction in results:
|
|
|
|
| 27 |
|
| 28 |
def classify_image(image):
|
| 29 |
results = image_pipe(image)
|
| 30 |
+
print(results)
|
| 31 |
# convert to format Gradio expects
|
| 32 |
output = {}
|
| 33 |
for prediction in results:
|