Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
c681468
1
Parent(s):
6242ad8
commit
Browse files
app.py
CHANGED
|
@@ -130,7 +130,8 @@ with gr.Blocks(css=".code-component {max-height: 500px !important}") as demo:
|
|
| 130 |
|
| 131 |
webrtc.stream(ReplyOnPause(generate),
|
| 132 |
inputs=[webrtc, history, code],
|
| 133 |
-
outputs=[webrtc], time_limit=90
|
|
|
|
| 134 |
webrtc.on_additional_outputs(lambda history, code: (history, code, history),
|
| 135 |
outputs=[history, code, cb])
|
| 136 |
code.change(display_in_sandbox, code, sandbox, queue=False)
|
|
|
|
| 130 |
|
| 131 |
webrtc.stream(ReplyOnPause(generate),
|
| 132 |
inputs=[webrtc, history, code],
|
| 133 |
+
outputs=[webrtc], time_limit=90,
|
| 134 |
+
concurrency_limit=10)
|
| 135 |
webrtc.on_additional_outputs(lambda history, code: (history, code, history),
|
| 136 |
outputs=[history, code, cb])
|
| 137 |
code.change(display_in_sandbox, code, sandbox, queue=False)
|