Spaces:
Sleeping
Sleeping
Update chatgptmoderationapptest.py
Browse files
chatgptmoderationapptest.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
from openai import OpenAI
|
| 2 |
client = OpenAI()
|
| 3 |
|
| 4 |
-
moderation = client.moderations.create(input="
|
| 5 |
-
print(moderation)
|
|
|
|
| 1 |
from openai import OpenAI
|
| 2 |
client = OpenAI()
|
| 3 |
|
| 4 |
+
moderation = client.moderations.create(input="I want to kill them.")
|
| 5 |
+
print(moderation)
|