To install OmniParse, you can use pip
:
git clone https://github.com/adithya-s-k/omniparse
cd omniparse
Create a Virtual Environment:
conda create -n omniparse-venv python=3.10
conda activate omniparse-venv
Install Dependencies:
poetry install
# or
pip install -e .
Run the Server:
python server.py --host 0.0.0.0 --port 8000 --documents --media --web
--documents
: Load in all the models that help you parse and ingest documents (Surya OCR series of models and Florence-2).--media
: Load in Whisper model to transcribe audio and video files.--web
: Set up selenium crawler.