eden-chan / treeline

Collaborative Annotations with PDF Highlighter and InstantDB
https://treeline.vercel.app
MIT License
2 stars 0 forks source link

Extract Fact Descriptors from Uploaded PDF #4

Closed eden-chan closed 6 months ago

eden-chan commented 6 months ago

I recommend installing conda and poetry install

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O ~/miniconda.sh\nbash ~/miniconda.sh -b -p $HOME/miniconda
conda create -n dev python=3.10
conda activate dev
pip install poetry
poetry install
`python preprocess.py --pdf_url=https://arxiv.org/pdf/1706.03762.pdf --client_type=anthropic`