fix infer, test=doc

pull/1770/head
huangyuxin 2 years ago
parent cd6275e344
commit c21c3d220d

@ -346,7 +346,7 @@ class ASRExecutor(BaseExecutor):
max_duration = 50.0
if audio_duration >= max_duration:
logger.error("Please input audio file less then 50 seconds.\n")
return
exit(1)
except Exception as e:
logger.exception(e)
logger.error(

Loading…
Cancel
Save