Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -83,7 +83,8 @@ stream = Stream(
|
|
83 |
additional_inputs=[chatbot, state],
|
84 |
additional_outputs=[chatbot, state],
|
85 |
additional_outputs_handler=lambda *a: (a[2], a[3]),
|
86 |
-
concurrency_limit=
|
|
|
87 |
rtc_configuration=get_twilio_turn_credentials() if get_space() else None,
|
88 |
)
|
89 |
app = FastAPI()
|
|
|
83 |
additional_inputs=[chatbot, state],
|
84 |
additional_outputs=[chatbot, state],
|
85 |
additional_outputs_handler=lambda *a: (a[2], a[3]),
|
86 |
+
concurrency_limit=5 if get_space() else None,
|
87 |
+
time_limit=90 if get_space() else None,
|
88 |
rtc_configuration=get_twilio_turn_credentials() if get_space() else None,
|
89 |
)
|
90 |
app = FastAPI()
|