daswer123 / xtts-api-server

A simple FastAPI Server to run XTTSv2
MIT License
292 stars 67 forks source link

Need a progress information to be returned as a Fast endpoint for Lollms #33

Open ParisNeo opened 6 months ago

ParisNeo commented 6 months ago

Hi there, I hope you are well. I have integrated your server into my little project called lollms and it is working fine except that the user has no idea about the progress of the generation. When generating an audio file, I want to show a progressbar that allows the user to see where the generation process is.

Can you please add an endpoint to the API that allows me to request the current progress? Somethig like get_progress and it returns a value from 0 to 100 or from 0 to 1.

I can read the code and do it on myself then do a pull request but maybe you can do it way faster and I have lots of things to code on lollms so I don't know if I have the time.

Just tell me if you would prefer that I do it myself or if you can do it faster.

Thank you very much for this cool project.

daswer123 commented 6 months ago

Hi, the server uses the tts library for generation which does not provide a way to track generation progress.