Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -103,21 +103,21 @@ iface = gr.Interface(
|
|
103 |
gr.Textbox(label="Policy", lines=10, value=DEFAULT_POLICY)],
|
104 |
outputs="label",
|
105 |
title="CoPE Alpha Preview",
|
106 |
-
description="See if the given content violates your given policy."
|
107 |
article="""
|
108 |
## About CoPE
|
109 |
|
110 |
CoPE (the COntent Policy Evaluation engine) is a small language model capable of accurate content policy labeling. This is a *preview* of our alpha release and is strictly for *research* purposes. This should *NOT* be used for any production use cases.
|
111 |
|
112 |
-
### How to Use
|
113 |
|
114 |
1. Enter your content in the "Content" box.
|
115 |
2. Specify your policy in the "Policy" box.
|
116 |
3. Click "Submit" to see the results.
|
117 |
|
118 |
-
*Note*: Inference times are *very slow* (30-45 seconds) since this is built on dev infra and not yet optimized for live systems. Please be patient!
|
119 |
|
120 |
-
###
|
121 |
|
122 |
- [Give us feedback](https://example.com) to help us improve
|
123 |
- Read our FAQ to learn more about CoPE
|
|
|
103 |
gr.Textbox(label="Policy", lines=10, value=DEFAULT_POLICY)],
|
104 |
outputs="label",
|
105 |
title="CoPE Alpha Preview",
|
106 |
+
description="See if the given content violates your given policy.",
|
107 |
article="""
|
108 |
## About CoPE
|
109 |
|
110 |
CoPE (the COntent Policy Evaluation engine) is a small language model capable of accurate content policy labeling. This is a *preview* of our alpha release and is strictly for *research* purposes. This should *NOT* be used for any production use cases.
|
111 |
|
112 |
+
### How to Use
|
113 |
|
114 |
1. Enter your content in the "Content" box.
|
115 |
2. Specify your policy in the "Policy" box.
|
116 |
3. Click "Submit" to see the results.
|
117 |
|
118 |
+
*Note*: Inference times are *very slow* (30-45 seconds) since this is built on dev infra and not yet optimized for live systems. Please be patient while testing!
|
119 |
|
120 |
+
### Feedback
|
121 |
|
122 |
- [Give us feedback](https://example.com) to help us improve
|
123 |
- Read our FAQ to learn more about CoPE
|