Open emmendoza2794 opened 7 months ago
@alekssamos Thank you very much for this tool, I barely know it and it is perfect for some projects I am working on.
Problem: When trying to save the audio file in a data buffer, the following error is displayed
msspeech/__init__.py, line 520, in _synthesize bc += await f.write(resp[1]) TypeError: object int can't be used in 'await' expression
My code
file = BytesIO() await mss.synthesize(data.text.strip(), file) file.seek(0)
Solution: remove the await and it worked for me.
@alekssamos Thank you very much for this tool, I barely know it and it is perfect for some projects I am working on.
Problem: When trying to save the audio file in a data buffer, the following error is displayed
My code
Solution: remove the await and it worked for me.