Spaces:
Runtime error
Runtime error
Commit
·
9f74712
1
Parent(s):
999d49b
bug fixing
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def self_caption(image):
|
|
71 |
#for prediction in preds:
|
72 |
# pred_output[predicted_label] = prediction
|
73 |
|
74 |
-
return
|
75 |
|
76 |
def classify_image(image):
|
77 |
results = image_pipe(image)
|
|
|
71 |
#for prediction in preds:
|
72 |
# pred_output[predicted_label] = prediction
|
73 |
|
74 |
+
return preds[0]
|
75 |
|
76 |
def classify_image(image):
|
77 |
results = image_pipe(image)
|