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

Give GUI its own flow #16

Open
deepfates opened this issue Jun 21, 2021 · 3 comments
Open

Give GUI its own flow #16

deepfates opened this issue Jun 21, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@deepfates
Copy link
Owner

The streamlit GUI should keep the db and CLIP model loaded while the folder doesn't change. This probably necessitates writing its own Flow, I guess? Maybe with native widgets for dipslaying errors and progress bars and such

@deepfates deepfates added the enhancement New feature or request label Jun 21, 2021
@wkrettek
Copy link
Contributor

Does the streamlit caching feature and the .ann and .pt files address this or no?

@deepfates
Copy link
Owner Author

Not sure... we're still loading CLIP and rebuilding the db each time we change files in the folder and hit the "Index" button. But when we search, we're just checking the db and treemap to make sure they're there. But we're still reloading them into memory each time, and still loading CLIP anew in the Ranker to embed the query.

@wkrettek
Copy link
Contributor

Oh yeah I think I understand this better now. Keeping those things in memory could improve speed a bit.

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

No branches or pull requests

2 participants