freddyaboulton HF Staff commited on
Commit
c33f70d
·
verified ·
1 Parent(s): b105679

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. script.md +1 -0
app.py CHANGED
@@ -16,7 +16,8 @@ stream = Stream(
16
  modality="audio",
17
  mode="send-receive",
18
  rtc_configuration=get_twilio_turn_credentials() if get_space() else None,
19
- concurrency_limit=20 if get_space() else None,
 
20
  )
21
 
22
  app = FastAPI()
 
16
  modality="audio",
17
  mode="send-receive",
18
  rtc_configuration=get_twilio_turn_credentials() if get_space() else None,
19
+ concurrency_limit=5 if get_space() else None,
20
+ time_limit=90 if get_space() else None,
21
  )
22
 
23
  app = FastAPI()
script.md CHANGED
@@ -1,4 +1,5 @@
1
  Hi, I'm Freddy and I want to give a tour of FastRTC - the real-time communication library for Python.
 
2
 
3
  Let's start with the basics - echoing audio.
4
 
 
1
  Hi, I'm Freddy and I want to give a tour of FastRTC - the real-time communication library for Python.
2
+ FastRTC makes it easy to stream audio or video using WebRTC or Websockets - the gold standard for real-time communication.
3
 
4
  Let's start with the basics - echoing audio.
5