Open fakerybakery opened 7 months ago
You don't really need that break statement in there. You are getting out of the loop when it's done writing.
The reason your script does not stop executing is because the client is holding it open. If you add client.close()
after your loop, your program should terminate correctly!
Probably should update the example code.
Hi, I'm using this code:
However it does not terminate the script after the audio has finished generating, how can I detect when the audio is done generating and stop? Thank you!
cc @NCarrollPlay @mahmoudfelfel