ZunYin commited on
Commit
c3db1d4
·
verified ·
1 Parent(s): c253a15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -6,9 +6,9 @@ from ultralytics import YOLO
6
 
7
  # Define file URLs for images and videos
8
  file_urls = [
9
- 'https://drive.google.com/file/d/1rvuphnn3BV4NdILrQE72jU7fxA79SiYn/view?usp=sharing', # Image
10
- 'https://drive.google.com/file/d/16gu9cLamGFrM5DRd1WJyk_6Xt9v0S7go/view?usp=sharing', # Image
11
- 'https://drive.google.com/file/d/1UgZi54js65f5qGhNF3nGLZwIN5nrUek6/view?usp=sharing', # Video
12
  ]
13
 
14
  # Helper function to download files
@@ -73,7 +73,7 @@ interface_image = gr.Interface(
73
  fn=show_preds_image,
74
  inputs=inputs_image,
75
  outputs=outputs_image,
76
- title="Tiger & Ibex Detector - Image",
77
  examples=image_examples,
78
  )
79
 
 
6
 
7
  # Define file URLs for images and videos
8
  file_urls = [
9
+ 'https://drive.google.com/file/d/1rvuphnn3BV4NdILrQE72jU7fxA79SiYn/view', # Image
10
+ 'https://drive.google.com/file/d/16gu9cLamGFrM5DRd1WJyk_6Xt9v0S7go/view', # Image
11
+ 'https://drive.google.com/file/d/1UgZi54js65f5qGhNF3nGLZwIN5nrUek6/view', # Video
12
  ]
13
 
14
  # Helper function to download files
 
73
  fn=show_preds_image,
74
  inputs=inputs_image,
75
  outputs=outputs_image,
76
+ title="Safety Head Detector - Image",
77
  examples=image_examples,
78
  )
79