Migrate static data from github to monitoring middleware. by marvinmindee · Pull Request #1033 · mindee/doctr (original) (raw)

@marvinmindee

Static data like models and images are now downloaded from a middleware and not from github releases, to enable more flexibility and monitor model downloads.

@marvinmindee

frgfm

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @marvinmindee :)

Quick question though:

Thanks 🙏

@marvinmindee

@marvinmindee

Hello, we also added he images so that all static data are accessed the same way and we don't have things dowloaded from multiple places (especially when we'll want to add other static files, it's better if we don't have to think about whether it should be on github/release or doctr-static). It also leaves flexibility for later!

@felixdittrich92

@frgfm @marvinmindee If we switch the models to doctr-static i agree that we should do this for all static data so we have all in one place 👍

one failing test left to fix :)

@marvinmindee

@codecov

charlesmindee

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@github-actions

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})