Ubuntu commited on
Commit
57b5784
·
1 Parent(s): a376dac

fixed shape

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(shape=(640, 640)), outputs="image", title="YOLO Object Detection")
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()