jeffaudi commited on
Commit
6b858f7
1 Parent(s): 9f2a44b

Added dogs image

Browse files
Files changed (2) hide show
  1. app.py +5 -4
  2. demo/two-dogs-with-a-stick.jpg +0 -0
app.py CHANGED
@@ -85,11 +85,12 @@ def run_grounding(input_image, grounding_caption, box_threshold, text_threshold)
85
 
86
  # Define example images and their true labels for users to choose from
87
  example_data = [
88
- ["./demo/airport01.jpg", "aircraft", 0.25, 0.25],
 
89
  ["./demo/Pleiades_Neo_Tucson_USA.jpg", "aircraft", 0.25, 0.25],
90
- ["./demo/SPOT_Storage.jpg", "storage", 0.25, 0.25],
91
  ["./demo/Satellite_Image_Marina_New_Zealand.jpg", "ship", 0.25, 0.25],
92
- ["./demo/Pleiades_HD15_Miami_Marina.jpg", "ship", 0.25, 0.25],
93
  ]
94
 
95
  if __name__ == "__main__":
@@ -135,7 +136,7 @@ if __name__ == "__main__":
135
  outputs = [gallery, dimensions, detections, stopwatch],
136
  fn=run_grounding,
137
  cache_examples=False,
138
- label='Try this example input!'
139
  )
140
  block.launch(share=False, show_api=False, show_error=True)
141
 
 
85
 
86
  # Define example images and their true labels for users to choose from
87
  example_data = [
88
+ ["./demo/two-dogs-with-a-stick.jpg", "aircraft", 0.25, 0.25],
89
+ #["./demo/airport01.jpg", "aircraft", 0.25, 0.25],
90
  ["./demo/Pleiades_Neo_Tucson_USA.jpg", "aircraft", 0.25, 0.25],
91
+ #["./demo/SPOT_Storage.jpg", "storage", 0.25, 0.25],
92
  ["./demo/Satellite_Image_Marina_New_Zealand.jpg", "ship", 0.25, 0.25],
93
+ #["./demo/Pleiades_HD15_Miami_Marina.jpg", "ship", 0.25, 0.25],
94
  ]
95
 
96
  if __name__ == "__main__":
 
136
  outputs = [gallery, dimensions, detections, stopwatch],
137
  fn=run_grounding,
138
  cache_examples=False,
139
+ label='Try these images!'
140
  )
141
  block.launch(share=False, show_api=False, show_error=True)
142
 
demo/two-dogs-with-a-stick.jpg ADDED