I found a github repo where you can find how to render gym env on index page.
https://github.com/dhruvramani/gym-render-browser
Solution 1 :
Problem :
I am trying to make a website where in the backend (in flask) I keep the open ai gym code and render it in a front end html file. I am fairly new to open ai gym and I am not sure how can I render it on html in the front. There seems to be very little resource on it on the internet.