saritha5 commited on
Commit
2431ec8
·
1 Parent(s): a190377

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -137,11 +137,12 @@ DESCRIPTION = """An image is occluded if the image is blocked by any object.
137
  For example if an electric pole is filled with bushes,the image is occluded since it is not clear and blocked.
138
  Mobil-net is used to train a model with occluded and non occluded images, so that it can correctly classify the images.
139
  Occlusion detection can be used to filter unclear images and take safety measures."""
140
-
 
141
  demo_app = gr.Interface(
142
  fn= prediction,
143
  inputs=inputs,
144
- outputs= ["text", "Image"],
145
  title = "Tag Diciphering",
146
  description = DESCRIPTION,
147
  examples = EXAMPLES,
 
137
  For example if an electric pole is filled with bushes,the image is occluded since it is not clear and blocked.
138
  Mobil-net is used to train a model with occluded and non occluded images, so that it can correctly classify the images.
139
  Occlusion detection can be used to filter unclear images and take safety measures."""
140
+ outputs = [gr.outputs.text(label = "Prediction"),
141
+ gr.outputs.Image(label = 'Tag Diciphering')]
142
  demo_app = gr.Interface(
143
  fn= prediction,
144
  inputs=inputs,
145
+ outputs= outputs,
146
  title = "Tag Diciphering",
147
  description = DESCRIPTION,
148
  examples = EXAMPLES,