Update utils.py
Browse files"threshold": "BLOCK_NONE",
utils.py
CHANGED
@@ -2,27 +2,27 @@
|
|
2 |
SAFETY_SETTTINGS = [
|
3 |
{
|
4 |
"category": "HARM_CATEGORY_SEXUAL",
|
5 |
-
"threshold": "
|
6 |
},
|
7 |
{
|
8 |
"category": "HARM_CATEGORY_DANGEROUS",
|
9 |
-
"threshold": "
|
10 |
},
|
11 |
{
|
12 |
"category": "HARM_CATEGORY_HARASSMENT",
|
13 |
-
"threshold": "
|
14 |
},
|
15 |
{
|
16 |
"category": "HARM_CATEGORY_HATE_SPEECH",
|
17 |
-
"threshold": "
|
18 |
},
|
19 |
{
|
20 |
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
|
21 |
-
"threshold": "
|
22 |
},
|
23 |
{
|
24 |
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
|
25 |
-
"threshold": "
|
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 |
|