Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -213,7 +213,7 @@ iface = gr.Interface(
|
|
213 |
gr.Textbox(label="Policy", lines=10, value=DEFAULT_POLICY)],
|
214 |
outputs=[gr.Textbox(label="Result")],
|
215 |
batch=True,
|
216 |
-
max_batch_size=
|
217 |
title="CoPE Dev (Unstable)",
|
218 |
description="See if the given content violates your given policy."
|
219 |
)
|
@@ -221,6 +221,6 @@ iface = gr.Interface(
|
|
221 |
#iface.queue(
|
222 |
# default_concurrency_limit=4
|
223 |
#)
|
224 |
-
|
225 |
# Launch the app
|
226 |
iface.launch()
|
|
|
213 |
gr.Textbox(label="Policy", lines=10, value=DEFAULT_POLICY)],
|
214 |
outputs=[gr.Textbox(label="Result")],
|
215 |
batch=True,
|
216 |
+
max_batch_size=16,
|
217 |
title="CoPE Dev (Unstable)",
|
218 |
description="See if the given content violates your given policy."
|
219 |
)
|
|
|
221 |
#iface.queue(
|
222 |
# default_concurrency_limit=4
|
223 |
#)
|
224 |
+
|
225 |
# Launch the app
|
226 |
iface.launch()
|