rgp commited on
Commit
1227bfb
1 Parent(s): 00709c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,10 +18,10 @@ def object_detection(im, size=640):
18
  results.render() # updates results.imgs with boxes and labels
19
  return Image.fromarray(results.ims[0])
20
 
21
- title = "Pedestrian and Transportations detection on the streets"
22
  description = """This model is a small demo based on an analysis of 680 images.
23
  """
24
- css = ".output-image, .input-image, .image-preview {height: 600px !important}"
25
 
26
  input = gr.inputs.Image(shape=(640, 640), image_mode="RGB", source="upload", label="Imagem", optional=False)
27
  output = gr.outputs.Image(type="pil", label="Output Image")
 
18
  results.render() # updates results.imgs with boxes and labels
19
  return Image.fromarray(results.ims[0])
20
 
21
+ title = "Pedestrians and Transportations detection on the streets"
22
  description = """This model is a small demo based on an analysis of 680 images.
23
  """
24
+ css = ".output-image, .input-image, .image-preview {height: 640px !important}"
25
 
26
  input = gr.inputs.Image(shape=(640, 640), image_mode="RGB", source="upload", label="Imagem", optional=False)
27
  output = gr.outputs.Image(type="pil", label="Output Image")