Update app.py
Browse files
app.py
CHANGED
@@ -10,5 +10,5 @@ def predict_Image(img):
|
|
10 |
im_array=res[0].plot()
|
11 |
pil_img=Image.fromarray(im_array[...,::-1])
|
12 |
return pil_img
|
13 |
-
iface=gr.Interface(fn=predict_Image,inputs=gr.Image(type="pil"),outputs="image",examples=["
|
14 |
iface.launch(share=True)
|
|
|
10 |
im_array=res[0].plot()
|
11 |
pil_img=Image.fromarray(im_array[...,::-1])
|
12 |
return pil_img
|
13 |
+
iface=gr.Interface(fn=predict_Image,inputs=gr.Image(type="pil"),outputs="image",examples=["input_img/detectron.png"],title="Detection of EBIKE on SparseRCNN",description="upload a picture to detect EBIKE")
|
14 |
iface.launch(share=True)
|