ysharma HF staff commited on
Commit
4a5c5dd
1 Parent(s): 5314799
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ import random
11
 
12
  dataset = load_dataset("ysharma/short_jokes", split="train")
13
  filtered_dataset = dataset.filter(
14
- lambda x: (True not in [nsfw in x["Joke"].lower() for nsfw in ["warning", "blow job", "fuck", "dead", "nsfw","69", "sex", "prostitute","prostitutes", "pedophiles", "pedophile"]])
15
  )
16
 
17
 
 
11
 
12
  dataset = load_dataset("ysharma/short_jokes", split="train")
13
  filtered_dataset = dataset.filter(
14
+ lambda x: (True not in [nsfw in x["Joke"].lower() for nsfw in ["warning","porn", "blow", "fuck", "dead", "nsfw","69", "sex", "prostitute","prostitutes", "pedophiles", "pedophile"]])
15
  )
16
 
17