Cognitivelab
  • OmniParse
  • Installation
  • Deployment
  • API
  • Integration
  • Examples
    • OmniPrase x Langchain
    • OmniPrase x LlamaIndex
    • Vision RAG using OmniParse
Powered by GitBook
On this page
  • Installation
  • Usage

Installation

Installation

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 .

Usage

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.

PreviousOmniParseNextDeployment

Last updated 11 months ago