• Robin Bakker's avatar
    Add language to word timestamps for Whisper (#31572) · b31d5950
    Robin Bakker authored
    * add language to words
    
    _collate_word_timestamps uses the return_language flag to determine whether the language of the chunk should be added to the word's information
    
    * ran style checks
    
    added missing comma
    
    * add new language test
    
    test that the pipeline can return both the language and timestamp
    
    * remove model configuration in test
    
    Removed model configurations that do not influence test results
    
    * remove model configuration in test
    
    Removed model configurations that do not influence test results
    b31d5950
test_pipelines_automatic_speech_recognition.py 86.2 KB