lg3394 commited on
Commit
40283aa
·
verified ·
1 Parent(s): 7cd37d0

Update chatgptmoderationapptest

Browse files
Files changed (1) hide show
  1. chatgptmoderationapptest +2 -6
chatgptmoderationapptest CHANGED
@@ -1,9 +1,5 @@
1
  from openai import OpenAI
2
  client = OpenAI()
3
 
4
- response = client.moderations.create(
5
- model="omni-moderation-latest",
6
- input="...text to classify goes here...",
7
- )
8
-
9
- print(response)
 
1
  from openai import OpenAI
2
  client = OpenAI()
3
 
4
+ moderation = client.moderations.create(input="...text to classify goes here...")
5
+ print(moderation)