mirror of
https://github.com/correl/dejavu.git
synced 2024-11-23 11:09:52 +00:00
Fix import errors in documentation (#1)
After restructuring the modules, also the documentation needs to be updated.
This commit is contained in:
parent
acca344f23
commit
8d6ca80798
1 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ $ python dejavu.py --recognize file sometrack.wav
|
|||
or in scripting, assuming you've already instantiated a Dejavu object:
|
||||
|
||||
```python
|
||||
>>> from dejavu.recognize import FileRecognizer
|
||||
>>> from dejavu.logic.recognizer.file_recognizer import FileRecognizer
|
||||
>>> song = djv.recognize(FileRecognizer, "va_us_top_40/wav/Mirrors - Justin Timberlake.wav")
|
||||
```
|
||||
|
||||
|
@ -140,7 +140,7 @@ or in scripting, assuming you've already instantiated a Dejavu object:
|
|||
With scripting:
|
||||
|
||||
```python
|
||||
>>> from dejavu.recognize import MicrophoneRecognizer
|
||||
>>> from dejavu.logic.recognizer.microphone_recognizer import MicrophoneRecognizer
|
||||
>>> song = djv.recognize(MicrophoneRecognizer, seconds=10) # Defaults to 10 seconds.
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue