Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,9 @@ def predict(image):
|
|
30 |
# Process output (adjust based on your model's format)
|
31 |
results = model(image)
|
32 |
annotated_img = results[0].plot()
|
|
|
|
|
|
|
33 |
return annotated_img
|
34 |
|
35 |
# Gradio interface
|
|
|
30 |
# Process output (adjust based on your model's format)
|
31 |
results = model(image)
|
32 |
annotated_img = results[0].plot()
|
33 |
+
|
34 |
+
print(type(annotated_img))
|
35 |
+
|
36 |
return annotated_img
|
37 |
|
38 |
# Gradio interface
|