Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -253,8 +253,8 @@ def predict(image):
|
|
253 |
|
254 |
# Process output (adjust based on your model's format)
|
255 |
# return output # or post-process the results as needed
|
256 |
-
results = model(image
|
257 |
-
annotated_img =
|
258 |
return annotated_img
|
259 |
|
260 |
# Gradio interface
|
|
|
253 |
|
254 |
# Process output (adjust based on your model's format)
|
255 |
# return output # or post-process the results as needed
|
256 |
+
results = model(image)
|
257 |
+
annotated_img = results.plot()
|
258 |
return annotated_img
|
259 |
|
260 |
# Gradio interface
|