I wrote a Neural Network in Python with PyTorch, and my goal is to develop a web app where I can import an image, and test the image with the trained network, and display it on the website.
The part where I'm having trouble with is adding the trained NN on the web app. What would be the best way to run the "test" in Python in the React app? Do I need to set up a backend that sends the image to the Python script and return the output? If so, what would be the best way in doing this?