Browse Source
Fix indent
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
1 changed files with
1 additions and
1 deletions
-
nn_fingerprint.py
|
@ -117,7 +117,7 @@ class NNFingerprint(NNOperator): |
|
|
audio = numpy.hstack(frames) |
|
|
audio = numpy.hstack(frames) |
|
|
if len(audio.shape) == 1: |
|
|
if len(audio.shape) == 1: |
|
|
audio = audio[None, :] |
|
|
audio = audio[None, :] |
|
|
assert len(audio.shape) == 2 |
|
|
|
|
|
|
|
|
assert len(audio.shape) == 2 |
|
|
audio = self.int2float(audio) |
|
|
audio = self.int2float(audio) |
|
|
|
|
|
|
|
|
if sr != self.params['sample_rate']: |
|
|
if sr != self.params['sample_rate']: |
|
|