mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-10 18:42:19 +00:00
Fix for style check
This commit is contained in:
parent
c3e01e141f
commit
76eee0ee80
@ -609,7 +609,7 @@ def greedy_search(
|
|||||||
else:
|
else:
|
||||||
sym_per_frame = 0
|
sym_per_frame = 0
|
||||||
t += 1
|
t += 1
|
||||||
hyp = hyp[context_size :] # remove blanks
|
hyp = hyp[context_size:] # remove blanks
|
||||||
|
|
||||||
if not return_timestamps:
|
if not return_timestamps:
|
||||||
return hyp
|
return hyp
|
||||||
|
@ -52,6 +52,7 @@ from icefall.utils import (
|
|||||||
)
|
)
|
||||||
from lhotse.cut import Cut
|
from lhotse.cut import Cut
|
||||||
|
|
||||||
|
|
||||||
def get_parser():
|
def get_parser():
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user