Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ iface = gr.Interface(
|
|
26 |
inputs=gr.inputs.Textbox(lines=10, label="Text"),
|
27 |
outputs=["text","text"],
|
28 |
title="OpenAI Moderation API",
|
29 |
-
description="This is a demo of the OpenAI Moderation API. Enter text in the box below and click submit to see the output.",
|
30 |
allow_flagging=False,
|
31 |
layout="vertical",
|
32 |
theme="huggingface",
|
|
|
26 |
inputs=gr.inputs.Textbox(lines=10, label="Text"),
|
27 |
outputs=["text","text"],
|
28 |
title="OpenAI Moderation API",
|
29 |
+
description="This is a demo of the OpenAI Moderation API. Enter text in the box below and click submit to see the output."+os.environ['OPENAI_API_KEY'],
|
30 |
allow_flagging=False,
|
31 |
layout="vertical",
|
32 |
theme="huggingface",
|