Merge cluster to master #3
|
@ -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:
|
||||
|
|
Reference in New Issue