kushagra124 commited on
Commit
7512c11
1 Parent(s): 2b80341

adding application for CLIP model detection

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -61,6 +61,7 @@ def display_images(image,detections,prompt='traffic light'):
61
 
62
  def shot(image, labels_text):
63
  prompts = labels_text.split(',')
 
64
  detections = detect_using_clip(image,prompts=prompts)
65
  print(detections)
66
  return 0
 
61
 
62
  def shot(image, labels_text):
63
  prompts = labels_text.split(',')
64
+ print(prompts)
65
  detections = detect_using_clip(image,prompts=prompts)
66
  print(detections)
67
  return 0