UnleashX commited on
Commit
7dfd54f
·
verified ·
1 Parent(s): c1eb7bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -311,9 +311,9 @@ class RealTimeAudioProcessor:
311
  """
312
  Manages a single live call, bridging audio between the SAN system and Millis AI.
313
  """
314
- PHONE_RATE = 16000
315
  MILLIS_RATE = 16000
316
- CHUNK_MS = 20
317
  BYTES_PER_SAMPLE = 2
318
 
319
  MILLIS_CHUNK_SIZE = int(MILLIS_RATE * CHUNK_MS / 1000 * BYTES_PER_SAMPLE)
 
311
  """
312
  Manages a single live call, bridging audio between the SAN system and Millis AI.
313
  """
314
+ PHONE_RATE = 8000
315
  MILLIS_RATE = 16000
316
+ CHUNK_MS = 40
317
  BYTES_PER_SAMPLE = 2
318
 
319
  MILLIS_CHUNK_SIZE = int(MILLIS_RATE * CHUNK_MS / 1000 * BYTES_PER_SAMPLE)