Quick restart problem

Welcome, everyone.
Iโ€™m facing an important problem, and I want to know a quick solution to it, please.
Iโ€™m working on a project where the user inserts some data and then a prediction occurs.
But when I run the program, when I enter the first value, the program automatically restarts.
Which erases the data again.


I hope you can help me.
Because my project re-delivery is approaching.

Hi,

I do not know if this question is live for you. But if you use the form object, you can submit the information all at once and it does not reload.