lowerquality / gentle

gentle forced aligner
https://lowerquality.com/gentle/
MIT License
1.43k stars 296 forks source link

Error using serve.py 'str' object has no attribute 'decode' #290

Open pabloriera opened 3 years ago

pabloriera commented 3 years ago

Solved when changing this line.

tran = req.args.get(b'transcript', [b''])[0].decode()

to

tran = req.args.get(b'transcript', [b''])[0]

twisted version 16.4.1