mirror of
https://github.com/correl/dejavu.git
synced 2024-11-23 19:19:53 +00:00
Updated README for the changes to the interface.
Changed default value from None to 10 for the MicrophoneRecognizer.recognize
This commit is contained in:
parent
292ddf029d
commit
94c4cc0d95
2 changed files with 1 additions and 1 deletions
BIN
README.md
BIN
README.md
Binary file not shown.
|
@ -99,7 +99,7 @@ class MicrophoneRecognizer(BaseRecognizer):
|
|||
def get_recorded_time(self):
|
||||
return len(self.data[0]) / self.rate
|
||||
|
||||
def recognize(self, seconds=None):
|
||||
def recognize(self, seconds=10):
|
||||
self.start_recording()
|
||||
for i in range(0, int(self.samplerate / self.chunksize
|
||||
* seconds)):
|
||||
|
|
Loading…
Reference in a new issue