TypeError: a bytes-like object is required, not 'str'
Getting the below error:
cmu_sphinx4.py", line 87, in transcript_stream if 'WARNING dictionary' in output and 'Missing word:' in output:
TypeError: a bytes-like object is required, not 'str'
just replace "if 'WARNING dictionary' in output and 'Missing word:' in output:" in the cmu_sphinx4.py with "if b'WARNING dictionary' in output and b'Missing word:' in output:" and repuild the cmu_sphinx4.py file i.e., specifying the bytes object.
Hi @leninchris Simply rewrite if b'WARNING dictionary' in output and b'Missing word:' in output: continue if b'Falling back to non-recursive partition' in output: continue into existing cmu_sphinx4.py file