VectorDB-Plugin-for-LM-Studio
VectorDB-Plugin-for-LM-Studio copied to clipboard
prevent GUI from freezing if there's an error when creating the database
If all the checks to create a database are passed, a user clicks create, and there's an error, it sometimes freezes the GUI. This is due to the GUI elements being disabled while the database is being created to prevent a user from trying to create more than one database simultaneously. However, there needs to be error handling and the buttons re-enabled if an error occurs.