The error message
with open(r"static\asset\anime.csv",“r”,encoding=‘utf-8’) as fh:
Apr 13 04:41:30 AM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 13 04:41:30 AMFileNotFoundError: [Errno 2] No such file or directory: ‘static\asset\anime.csv’
it is a flask app, the code works just fine in local host
There will always be differences between environments: development mode/Local, production mode/Render, etc. These differences need to be considered and configured as required for your own app in each environment.
Your path reference appears to use Windows syntax \. Render runs on Linux so paths would be defined with /. Maybe that’s the issue?