freddyaboulton HF staff commited on
Commit
3b88f56
·
verified ·
1 Parent(s): c1265fa

Upload folder using huggingface_hub

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