Puddle is a Python package and CLI that allows Machine Learning developers and enthusiasts to quickly and easily host their models, with a beautiful UI to showcase their models, with just one command
- Simply install the package using Pip,
- Create a config.json file using
puddle gen-config -m proj-nameOR create a config.json manually - Deploy using
puddle deploy -f config.json - Your unique webpage link will be displayed, usually oururl. com/models/proj-name
There are too many models floating around online unused, that can be used by everyday people if the ML engineers had an easy way to share them. This takes care of the front-end, back-end component, and provides incredibly flexibility to engineers to be able to share their models easily. Think of it like the Github of Machine Learning Models.
- Make model display page prettier
- Make landing page for project
- Create pipeline when user attempts to use model
- Accept Input,
- Validate input,
- Run input through run file,
- Get result,
- Display result
- Set up an SQL database here - https://remotemysql.com/
- Get the username, password, dbname, server and port
- Set up an Amazon S3 account
- Get the AWS key, AWS Secret key, bucket name that you choose
- Clone this repo
- Create a file server/keys.txt, with the following format
USERNAME=your_db_username
DBNAME=your_db_name
PASSWORD=your_db_password
SERVER=remotemysql.com
PORT=your_db_port
AWS_KEY=your_aws_key
AWS_SECRET_KEY=your_aws_secret_key
BUCKET_NAME=your_bucket_name
- Go to localhost:5000/database/models/create
- Go to localhost:5000/database/authors_models/create
- Run cli/gen-config.py
- Run cli/deploy.py
- Run server/server.py
- See if everything works like it should by clicking on the link displayed by cli/deploy.py
- Start coding :)
