mirror of
https://github.com/malarinv/jasper-asr.git
synced 2026-03-09 19:02:35 +00:00
1. refactored wav chunk processing method
2. renamed streamlit to validation_ui
This commit is contained in:
@@ -122,7 +122,7 @@ def dump_validation_ui_data(
|
||||
),
|
||||
)
|
||||
if annotation_only:
|
||||
result = pnr_data
|
||||
result = list(pnr_data)
|
||||
else:
|
||||
wer_key = "domain_wer" if use_domain_asr else "pretrained_wer"
|
||||
result = sorted(pnr_data, key=lambda x: x[wer_key], reverse=True)
|
||||
|
||||
Reference in New Issue
Block a user