CorentinJ / Real-Time-Voice-Cloning

Clone a voice in 5 seconds to generate arbitrary speech in real-time
Other
52.59k stars 8.79k forks source link

Attribute Error: 'str' object has no attribute 'tobytes' #1089

Closed cringegaming64 closed 2 years ago

cringegaming64 commented 2 years ago

i was trying to use the localhost version of this synthesis ai by following the tutorial to get it working on a local server, but every time i try to synthesize text in the command prompt, this is is the error that pops up and it doesnt generate the audio

line 39, in generate fwav = io.StringIO(output.tobytes()) AttributeError: 'str' object has no attribute 'tobytes'