yo, just go ahead and still whatever is in main.py, you can also add flask_cors if you face any issues using the api, and then run python main.py to get it working
!
Flask cors: https://stackoverflow.com/questions/25594893/how-to-enable-cors-in-flask
Make sure to leave a ⭐
Thanks, -Armaan.