Spaces:
Sleeping
Sleeping
created a new class to interface with chromadb, huggingface dataset repo to persist database
5516850 Download utils/ingest.py from aniruddhdoki/Atticus: direct link, hf CLI and curl.
- Browser
- Download file 147 Bytes
-
https://huggingface.co/spaces/aniruddhdoki/Atticus/resolve/main/utils/ingest.py
- Command line
-
hf download hf://spaces/aniruddhdoki/Atticus/utils/ingest.py
-
curl -L -o ingest.py https://huggingface.co/spaces/aniruddhdoki/Atticus/resolve/main/utils/ingest.py
147 Bytes
| import streamlit as st | |
| class Ingest(): | |
| files = [] # list of UploadedFile objects, subclass of BytesIO | |
| db = None # chromadb.Client object | |