shamimjony1000 commited on
Commit
cf292fb
1 Parent(s): 132f875

Update voice_handler.py

Browse files
Files changed (1) hide show
  1. voice_handler.py +1 -1
voice_handler.py CHANGED
@@ -8,7 +8,7 @@ class VoiceHandler:
8
  self.recognizer.energy_threshold = 4000
9
  self.recognizer.dynamic_energy_threshold = True
10
  self.recognizer.pause_threshold = 0.8
11
- self.permission_granted = True
12
 
13
  def check_microphone_access(self) -> bool:
14
  """Check if microphone is accessible"""
 
8
  self.recognizer.energy_threshold = 4000
9
  self.recognizer.dynamic_energy_threshold = True
10
  self.recognizer.pause_threshold = 0.8
11
+ self.permission_granted = False
12
 
13
  def check_microphone_access(self) -> bool:
14
  """Check if microphone is accessible"""