Merge cluster to master #3

Merged
cyberes merged 163 commits from cluster into master 2023-10-27 19:19:22 -06:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 0f5e22191c - Show all commits

View File

@ -14,6 +14,8 @@ def check_moderation_endpoint(prompt: str):
response.raise_for_status()
response = response.json()
print(response.text)
offending_categories = []
for k, v in response['results'][0]['categories'].items():
if v: