How to keep python script running with

Hello. I’m trying to keep my script running when I exit the tab. I have boosted the app and I have a file with the correct python command. I go to use bash and it starts the script but when I leave the tab it stops. Any idea how to fix this?