saritha5 commited on
Commit
f3d2f5c
·
1 Parent(s): 5946384

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -56,6 +56,7 @@ 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","img10.png","img8.png","img9.png"]
 
59
 
60
 
61
  demo_app = gr.Interface(
@@ -63,9 +64,7 @@ demo_app = gr.Interface(
63
  inputs=inputs,
64
  outputs= "text",
65
  title = "Prediction of Occluded or not Occluded Image",
66
- #gr.markdown("""
67
- #An Occlusion occurs when something has been up or blocked off
68
- #"""),
69
  examples = EXAMPLES,
70
  cache_example = True,
71
  live = True,
 
56
  inputs = gr.inputs.Image(type = 'filepath')
57
  #label = gr.outputs.Label(num_top_classes=2)
58
  EXAMPLES = ["img1.png","img2.png","img3.png","img10.png","img8.png","img9.png"]
59
+ DESCRIPTION = "Occlusion means the act of closing, blocking or shutting Something or the state of being closed or blocked"
60
 
61
 
62
  demo_app = gr.Interface(
 
64
  inputs=inputs,
65
  outputs= "text",
66
  title = "Prediction of Occluded or not Occluded Image",
67
+ description = DESCRIPTION,
 
 
68
  examples = EXAMPLES,
69
  cache_example = True,
70
  live = True,