So, I have a website where I want to show my outputs of my machine learning programs in real-time. Every output is based on the User's input.
I have successfully created my python scripts which give me my desired output, but untill now i was just running my script on my local machine.
I am using matplotlib, numpy, sci-kit and packages similar to them, I need to create a web UI that could run a python script from an html button click and then show the matplotlib graph that was generated.
I have been searching for an answer for quite sometime now, here are my findings
Now I somewhat understand all these techniques. but I cannot find some perfect example to help me with my situation. Few things that I want you to know is, I have a ready HTML file, along with CSS. I am using the Google Console VM-instances for my remote server.
So, in all I just need a solution to my following problem.
- User selects an option from my html page.
- Remote server gets a request, starts the necessary python script
- Python script returns data in the form of matplotlib, text and numbers.
- My HTML page gets the data, parses them and shows the output.