Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,10 @@ def occ_predict(img_content):
|
|
56 |
inputs = gr.inputs.Image(type = 'filepath')
|
57 |
#label = gr.outputs.Label(num_top_classes=2)
|
58 |
EXAMPLES = ["img1.png","img2.png","img3.png","img15.png","img11.png","img12.png","img18.png","img20.png"]
|
59 |
-
DESCRIPTION = "
|
|
|
|
|
|
|
60 |
|
61 |
|
62 |
demo_app = gr.Interface(
|
|
|
56 |
inputs = gr.inputs.Image(type = 'filepath')
|
57 |
#label = gr.outputs.Label(num_top_classes=2)
|
58 |
EXAMPLES = ["img1.png","img2.png","img3.png","img15.png","img11.png","img12.png","img18.png","img20.png"]
|
59 |
+
DESCRIPTION = """An image is occluded if the image is blocked by any object.
|
60 |
+
For example if an electric pole is filled with bushes,the image is occluded since it is not clear and blocked.
|
61 |
+
Mobil-net is used to train a model with occluded and non occluded images, so that it can correctly classify the images.
|
62 |
+
Occlusion detection can be used to filter unclear images and take safety measures."""
|
63 |
|
64 |
|
65 |
demo_app = gr.Interface(
|