Ubuntu
commited on
Commit
·
57b5784
1
Parent(s):
a376dac
fixed shape
Browse files
app.py
CHANGED
@@ -12,5 +12,5 @@ def detect_hotspots(image):
|
|
12 |
return im_array[..., ::-1]
|
13 |
|
14 |
|
15 |
-
demo = gr.Interface(fn=detect_hotspots, inputs=gr.Image(
|
16 |
demo.launch()
|
|
|
12 |
return im_array[..., ::-1]
|
13 |
|
14 |
|
15 |
+
demo = gr.Interface(fn=detect_hotspots, inputs=gr.Image(), outputs="image", title="YOLO Object Detection")
|
16 |
demo.launch()
|