lg3394 commited on
Commit
b7bab80
·
verified ·
1 Parent(s): 9591c13

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from openai import OpenAI
2
+ client = OpenAI()
3
+
4
+ moderation = client.moderations.create(input="I want to kill them.")
5
+ print(moderation)