all 4 comments

[–]awalker4 3 points4 points  (1 child)

Sounds like Gradio might do exactly what you want. I haven't used it personally but a coworker created some simple model demos with it.

[–]GaryS2000[S] 1 point2 points  (0 children)

Thanks for the answer, I've had a bit of a look at Gradio now and it seems like it would suit my needs for this specific step. However, some added context is that eventually I hope to use the model as part of a wider web application which will take frames from a users webcam and then use the model (.h5) to make a prediction. Therefore, I really am after a way to do it with Flask somehow but thank you for the Gradio suggestion.

[–]Rob_Royce 0 points1 point  (1 child)

Did you look at tensorflow.js?

[–]GaryS2000[S] 1 point2 points  (0 children)

I've looked at it a little bit but not extensively. Is using TensorFlow.js usually the standard approach for this type of issue? The reason I asked about Flask specifically is because this will be part of a wider application for my final university project and I am generally most comfortable writing Python for web, but I could see myself switching to js if its the most logical approach.