'Hosting Python script using ionos fast deployment

I have a python script that runs a twitter bot by:

  1. listening to see when it’s messaged or tagged in posts.
  2. unpacking a ~50mb binary file as a neural network to process the text input.
  3. generating and sending a reply in response to what it received.

Right now I’m running this script locally in the background but I want it to be running permanently in the background.

I have a personal portfolio website hosted using my hosting provider’s fast deployment system, i.e. I have all the website files in a github repo and they pull it from there, automatically updating whenever I update the repo.

Is there some way of combining these so I can have the Python script hosted and ran remotely using my website hosting service?

Right now the script is stored in the same folder as the ~50mb model so Im not sure if I would be able to host the model also or somehow have connect to it on a different machine.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source