Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Taipy Scenarios not found after a rerun

I created a Taipy application to create scenarios with predictions and metrics, but when I rerun my code after stopping it, I lose all my scenarios and data. Where does it come from? How can I keep my scenarios and data?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

By default, Taipy runs in development mode, which deletes data and scenarios upon each execution.

To retain scenarios, you can use either the ‘experiment’ or ‘production’ modes (see the documentation).

To run in ‘experiment’ mode and create/run version V1:

python main.py --experiment V1

This ensures that your scenarios and data remain intact.

To run your application with VS Code:

  1. Set up a launch.json file (you can create it under the debug tab in VS Code).
  2. Add the following to the file (.vscode/launch.json):

"args":["--experiment", "V1"],

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading