modelfoxdotdev / modelfox

ModelFox makes it easy to train, deploy, and monitor machine learning models.
Other
1.46k stars 63 forks source link

CLI login and upload #16

Open nitsky opened 3 years ago

nitsky commented 3 years ago

Right now, models can only be uploaded to the app from the browser. It would be nice to allow upload from the CLI as well. This will require implementing authentication in the CLI as well. The proposed interface is:

  1. tangram login to authenticate, optionally with --app-url <APP_URL> to support self-hosted apps.
  2. tangram upload --app-url <APP_URL> --repo-id <REPO_ID> --model <MODEL_PATH>.