Spaces:
Runtime error
Runtime error
Update app.py
#1
by
rohitdavas
- opened
app.py
CHANGED
@@ -59,8 +59,8 @@ def inference(img):
|
|
59 |
plt.savefig("test.png",bbox_inches='tight')
|
60 |
return "test.png"
|
61 |
|
62 |
-
inputs = gr.inputs.Image(type='
|
63 |
-
outputs = gr.outputs.Image(type="
|
64 |
|
65 |
title = "Single Shot MultiBox Detector model for object detection"
|
66 |
description = "Gradio demo for Single Shot MultiBox Detector model for object detection by Nvidia. To use it upload an image or click an example images images. Read more at the links below"
|
|
|
59 |
plt.savefig("test.png",bbox_inches='tight')
|
60 |
return "test.png"
|
61 |
|
62 |
+
inputs = gr.inputs.Image(type='numpy', label="Original Image")
|
63 |
+
outputs = gr.outputs.Image(type="numpy", label="Output Image")
|
64 |
|
65 |
title = "Single Shot MultiBox Detector model for object detection"
|
66 |
description = "Gradio demo for Single Shot MultiBox Detector model for object detection by Nvidia. To use it upload an image or click an example images images. Read more at the links below"
|