Deploy model demo
This show off a combination of solara.lab.Menu and solara.lab.ConfirmationDialog and solara.use_thread to demonstrate how to tune, fit and deploy a model. The actually deployment is not real, but simulated by a thread that returns a boolean value on success and sleep for a while to similate the deployment taking time.
- Right click on the plot to either fit or reset the model parameters.
- Clicking on the button shows a custom menu to deploy to several environments.
- A confirmation dialog is used before executing the deployment.
- If the deployment fails, a confirmation dialog is shown to retry the deployment.