TheMorpheus407 / OpenAI-Audiobook-Generator

This project is a web-based application that converts text into audio, primarily focusing on creating audiobooks.
https://themorpheus407.github.io/OpenAI-Audiobook-Generator/
MIT License
72 stars 11 forks source link

Generation process can start multiple times, so 2 clicks on button run two separate concurrent jobs #11

Open JJablon opened 1 month ago

JJablon commented 1 month ago

If I try to generate a longer chapter, about 30 minutes to hour or so, there is no protection that could let user avoid generation of two files with the same content, and of course the charge is still double. Also, there is no visible confirmation that the click was registered (the button does no change the caption or color etc.). Because of the length of the chapters, a few mistakes like that can can a few bucks which is unfortunate.