iamrobotbear commited on
Commit
d72dfa9
·
1 Parent(s): d7d65fa

add the statements

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -16,8 +16,15 @@ model_caption = CLIPModel.from_pretrained("microsoft/git-large-r-textcaps")
16
  processor_caption = CLIPProcessor.from_pretrained("microsoft/git-large-r-textcaps")
17
 
18
  # List of statements for Image-Text Matching
 
19
  statements = [
20
- # (Add actual statements here)
 
 
 
 
 
 
21
  ]
22
 
23
  txts = [text_processors["eval"](statement) for statement in statements]
 
16
  processor_caption = CLIPProcessor.from_pretrained("microsoft/git-large-r-textcaps")
17
 
18
  # List of statements for Image-Text Matching
19
+ # List of statements (Make sure to fully define this list with actual statements)
20
  statements = [
21
+ "cartoon, figurine, or toy",
22
+ "appears to be for children",
23
+ "includes children",
24
+ "is sexual",
25
+ "depicts a child or portrays objects, images, or cartoon figures that primarily appeal to persons below the legal purchase age",
26
+ "uses the name of or depicts Santa Claus",
27
+ 'promotes alcohol use as a "rite of passage" to adulthood',
28
  ]
29
 
30
  txts = [text_processors["eval"](statement) for statement in statements]