Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -124,10 +124,12 @@ iface = gr.Interface(
|
|
124 |
fn=predict,
|
125 |
inputs=[gr.Textbox(label="Content", lines=2, value=DEFAULT_CONTENT),
|
126 |
gr.Textbox(label="Policy", lines=8, value=DEFAULT_POLICY)],
|
127 |
-
outputs=[gr.Textbox(label="Result")
|
|
|
128 |
article="TEST CONTENT",
|
129 |
title="Zentropi CoPE Demo",
|
130 |
-
description="See if the given content violates your given policy."
|
|
|
131 |
)
|
132 |
|
133 |
# Launch the app
|
|
|
124 |
fn=predict,
|
125 |
inputs=[gr.Textbox(label="Content", lines=2, value=DEFAULT_CONTENT),
|
126 |
gr.Textbox(label="Policy", lines=8, value=DEFAULT_POLICY)],
|
127 |
+
outputs=[gr.Textbox(label="Result"),
|
128 |
+
gr.Markdown("A BUNCH OF STUFF")],
|
129 |
article="TEST CONTENT",
|
130 |
title="Zentropi CoPE Demo",
|
131 |
+
#description="See if the given content violates your given policy.",
|
132 |
+
api_name=False
|
133 |
)
|
134 |
|
135 |
# Launch the app
|