YEHTUT commited on
Commit
8ae2da0
1 Parent(s): 292393c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -138,14 +138,14 @@ Image_tab = gr.Interface(fn=predict,
138
  outputs=gr.Image(type="pil"),
139
  examples=[["SampleImage1.jpg"],["SampleImage2.jpg"],["SampleImage3.jpg"],["SampleImage4.jpg"],["SampleImage5.jpg"],["SampleImage6.jpg"]],
140
  title="This is the object detection model for Durian and Pineapple images",
141
- description="Using ssd_mobilenet_v2_320x320_coco17_tpu-8 to detect Durina and Pineapple"
142
  )
143
  Video_tab = gr.Interface(fn=predict_video,
144
  inputs=gr.Video(label="Upload Video"),
145
  outputs=gr.Video(label="Detected Video"),
146
  examples=[["SampleVideo1.mp4"],["SampleVideo2.mp4"]],
147
  title="This is the object detection model for Durian and Pineapple videos",
148
- description="Using ssd_mobilenet_v2_320x320_coco17_tpu-8 to detect Durina and Pineapple"
149
  )
150
 
151
  gr.TabbedInterface([Image_tab, Video_tab], ["Image", "Video"]).launch(share=True)
 
138
  outputs=gr.Image(type="pil"),
139
  examples=[["SampleImage1.jpg"],["SampleImage2.jpg"],["SampleImage3.jpg"],["SampleImage4.jpg"],["SampleImage5.jpg"],["SampleImage6.jpg"]],
140
  title="This is the object detection model for Durian and Pineapple images",
141
+ description="Using ssd_mobilenet_v2_320x320_coco17_tpu-8 to detect Durian and Pineapple"
142
  )
143
  Video_tab = gr.Interface(fn=predict_video,
144
  inputs=gr.Video(label="Upload Video"),
145
  outputs=gr.Video(label="Detected Video"),
146
  examples=[["SampleVideo1.mp4"],["SampleVideo2.mp4"]],
147
  title="This is the object detection model for Durian and Pineapple videos",
148
+ description="Using ssd_mobilenet_v2_320x320_coco17_tpu-8 to detect Durian and Pineapple"
149
  )
150
 
151
  gr.TabbedInterface([Image_tab, Video_tab], ["Image", "Video"]).launch(share=True)