airworkx commited on
Commit
a505ab1
1 Parent(s): 388ab82

Update utils.py

Browse files

"threshold": "BLOCK_NONE",

Files changed (1) hide show
  1. utils.py +6 -6
utils.py CHANGED
@@ -2,27 +2,27 @@
2
  SAFETY_SETTTINGS = [
3
  {
4
  "category": "HARM_CATEGORY_SEXUAL",
5
- "threshold": "NONE",
6
  },
7
  {
8
  "category": "HARM_CATEGORY_DANGEROUS",
9
- "threshold": "NONE",
10
  },
11
  {
12
  "category": "HARM_CATEGORY_HARASSMENT",
13
- "threshold": "NONE",
14
  },
15
  {
16
  "category": "HARM_CATEGORY_HATE_SPEECH",
17
- "threshold": "NONE",
18
  },
19
  {
20
  "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
21
- "threshold": "NONE",
22
  },
23
  {
24
  "category": "HARM_CATEGORY_DANGEROUS_CONTENT",
25
- "threshold": "NONE",
26
  },
27
  ]
28
 
 
2
  SAFETY_SETTTINGS = [
3
  {
4
  "category": "HARM_CATEGORY_SEXUAL",
5
+ "threshold": "BLOCK_NONE",
6
  },
7
  {
8
  "category": "HARM_CATEGORY_DANGEROUS",
9
+ "threshold": "BLOCK_NONE",
10
  },
11
  {
12
  "category": "HARM_CATEGORY_HARASSMENT",
13
+ "threshold": "BLOCK_NONE",
14
  },
15
  {
16
  "category": "HARM_CATEGORY_HATE_SPEECH",
17
+ "threshold": "BLOCK_NONE",
18
  },
19
  {
20
  "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
21
+ "threshold": "BLOCK_NONE",
22
  },
23
  {
24
  "category": "HARM_CATEGORY_DANGEROUS_CONTENT",
25
+ "threshold": "BLOCK_NONE",
26
  },
27
  ]
28