saritha5 commited on
Commit
ebd6320
·
1 Parent(s): 01f6545

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ DESCRIPTION = """An image is occluded if the image is blocked by any object.
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.Textbox(label = "Prediction"),
141
- gr.outputs.Image(type = 'pil',label = 'Tag Diciphering')]
142
  demo_app = gr.Interface(
143
  fn= prediction,
144
  inputs=inputs,
 
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.Textbox(label = "Prediction"),
141
+ gr.outputs.Image(type = 'numpy',label = 'Tag Diciphering')]
142
  demo_app = gr.Interface(
143
  fn= prediction,
144
  inputs=inputs,