gaur3009 commited on
Commit
94dcc3d
·
verified ·
1 Parent(s): 152f6f7

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +4 -8
config.py CHANGED
@@ -1,18 +1,14 @@
 
1
  import os
2
 
3
  # Speech Recognition Configuration
4
  ENERGY_THRESHOLD = 300 # Minimum audio energy to consider for speech
5
- DYNAMIC_ENERGY_THRESHOLD = True
6
  PAUSE_THRESHOLD = 0.8 # Seconds of silence before considering speech ended
7
- PHRASE_TIME_LIMIT = 10 # Maximum seconds per phrase
8
-
9
- # AI Configuration
10
- SUMMARY_MIN_LENGTH = 100
11
- SUMMARY_MAX_LENGTH = 300
12
 
13
  # Notification Configuration
14
  NOTIFICATION_RECIPIENTS = [
15
- {"type": "email", "address": "user@example.com"}
16
  ]
17
 
18
  # Email Configuration
@@ -21,6 +17,6 @@ SMTP_PORT = 587
21
  EMAIL_SENDER = "[email protected]"
22
  EMAIL_PASSWORD = "your-app-password" # Use app-specific password
23
 
24
- # Create necessary directories
25
  if not os.path.exists("recordings"):
26
  os.makedirs("recordings")
 
1
+ # config.py (Configuration)
2
  import os
3
 
4
  # Speech Recognition Configuration
5
  ENERGY_THRESHOLD = 300 # Minimum audio energy to consider for speech
 
6
  PAUSE_THRESHOLD = 0.8 # Seconds of silence before considering speech ended
7
+ PHRASE_TIME_LIMIT = 30 # Maximum seconds per phrase
 
 
 
 
8
 
9
  # Notification Configuration
10
  NOTIFICATION_RECIPIENTS = [
11
+ {"type": "email", "address": "your-email@example.com"}
12
  ]
13
 
14
  # Email Configuration
 
17
  EMAIL_SENDER = "[email protected]"
18
  EMAIL_PASSWORD = "your-app-password" # Use app-specific password
19
 
20
+ # Create directory for recordings
21
  if not os.path.exists("recordings"):
22
  os.makedirs("recordings")