Skip to content

Commit

Permalink
Remove duplicate setting for sexually explicit content
Browse files Browse the repository at this point in the history
  • Loading branch information
rabilrbl committed Dec 24, 2023
1 parent 82ba5ff commit 0e3d76c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gemini_pro_bot/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
HarmCategory.HARM_CATEGORY_HARASSMENT: HarmBlockThreshold.BLOCK_NONE,
HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT: HarmBlockThreshold.BLOCK_NONE,
HarmCategory.HARM_CATEGORY_HATE_SPEECH: HarmBlockThreshold.BLOCK_NONE,
HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT: HarmBlockThreshold.BLOCK_NONE,
# Doesn't seem to be working, might be old?
# HarmCategory.HARM_CATEGORY_DANGEROUS: HarmBlockThreshold.BLOCK_NONE,
# HarmCategory.HARM_CATEGORY_DEROGATORY: HarmBlockThreshold.BLOCK_NONE,
Expand Down

0 comments on commit 0e3d76c

Please sign in to comment.