0

I developed an ML model which requires two arguments, which are the path of the two files used by the model function. The task at hand requires a web page which could take those arguments for the model and deliver it to the function.

The job could also be done using Tkinter in python for developing a GUI Frame, but my situation requires a web page for further development.

1
  • I don't think it's possible to do that Commented Jun 3, 2019 at 6:49

1 Answer 1

1

You could use flask, pyramid, or django to make a web-app that will call your ML function.It doesent have to be hosted on a server you can run it locally on your computer.

What isn't clear is why in your particular case you can't use Tkinter. Is your webpage suppose to be accesed by someone else ? From outside you local network ? The question isn't verry clear.

Sign up to request clarification or add additional context in comments.

4 Comments

No it has to be accessed from the same local machine inside the network.
So it's all on accesed and used on your local machine. Then the answer still stands. Oh and another possibility is to use sockets to send the data, python for your ml and javascript for the html.
You can then just access the local server from localhost. You could also bind your server to localhost so it only listens on your local machine
for example you have html code includes JavaScript that create svg file or png image how make this app work as terminal app without open browser or setup flask like just excute this html and js and even call API with js to get result, in background like when done in selenuim when work in background so even if on linux or corn job or automated it work alone

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.