Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add authentication layer for model weights #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Apr 2, 2024

Implements the deepcell-users authentication layer for the model weights.

The _auth.py module is vendored directly from the deepcell/utils module for consistency across deepcell libraries. At some point in the future this should probably be extracted to its own package but that's a separate PR.

This still needs documentation+testing (along with everything else) but this at least gets the auth layer in place and should be working now. Quickstart to trying this out:

  1. Create an account at https://users.deepcell.org (if you don't already have one)
  2. Create an API key (if you don't already have one) and export it as an environment variable; e.g. (export DEEPCELL_ACCESS_TOKEN=<your-key>)
  3. Run the example as in the README.

@rossbar rossbar added the enhancement New feature or request label Apr 2, 2024
@rossbar rossbar force-pushed the deepcell-users-weights branch from 1b571d2 to a84bd37 Compare April 5, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant