BoltzmannEntropy / xtts2-ui

A User Interface for XTTS-2 Text-Based Voice Cloning using only 10 seconds of speech
MIT License
242 stars 40 forks source link

Speaker Dropdown Reverts to Initial Options After Page Refresh #2

Closed pbanuru closed 9 months ago

pbanuru commented 9 months ago

After uploading and saving an audio file using the "Save Below Recording" button, the speaker dropdown is correctly updated to include and automatically select the newly saved name.

However, upon refreshing the page, the speaker dropdown no longer includes the newly saved name. This indicates that the dropdown reverts to its initial state, displaying only the options available at the time of the Gradio app's startup.

The expected behavior is for the dropdown to maintain an updated list of speakers, including those added in the current session, even after a page refresh.

Clicking the "Refresh Speakers" button still works to update the dropdown, but ideally, you would not need to press it after refreshing the page.