kushagra124 commited on
Commit
7fb0d5c
·
1 Parent(s): c2e6eeb

adding app with CLIP image segmentation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def visualize_images(image,predicted_images):
53
  return cv2.convertScaleAbs(resize_image_copy, alpha=1.8, beta=15)
54
 
55
 
56
- def shot(image, labels_text,selected_categoty):
57
  if "," in labels_text:
58
  prompts = labels_text.split(',')
59
  else:
 
53
  return cv2.convertScaleAbs(resize_image_copy, alpha=1.8, beta=15)
54
 
55
 
56
+ def shot(image, labels_text):
57
  if "," in labels_text:
58
  prompts = labels_text.split(',')
59
  else: