Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import openai
|
3 |
|
4 |
-
openai.api_key = "sk-proj-
|
|
|
5 |
|
6 |
def moderate_text(text):
|
7 |
text = str(text).strip() if text else ""
|
|
|
1 |
import gradio as gr
|
2 |
import openai
|
3 |
|
4 |
+
openai.api_key = "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"
|
5 |
+
|
6 |
|
7 |
def moderate_text(text):
|
8 |
text = str(text).strip() if text else ""
|