Try to add a stop button by using threads for the model run.
Try to add a stop button by using threads for the model run.