samidh commited on
Commit
a208505
·
verified ·
1 Parent(s): ae6cec8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=8,
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()