Added a checkbox (self.clear_model_checkbox) in init_ui method to allow the user to choose whether to clear the model before training.
Modified the train_model method to conditionally call self.create_model() based on the state of self.clear_model_checkbox.
PD: This is my first attempt to contribute to open source
Added a checkbox (self.clear_model_checkbox) in init_ui method to allow the user to choose whether to clear the model before training. Modified the train_model method to conditionally call self.create_model() based on the state of self.clear_model_checkbox.
PD: This is my first attempt to contribute to open source