granite-vision-demo / README.md
RTE Build
Deployment
a099612
|
raw
history blame contribute delete
708 Bytes
---
title: Multimodal RAG with Granite Vision
short_description: RAG example using Granite [vision, embedding, instruct]
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.16.1
app_file: src/rag_app.py
pinned: False
license: apache-2.0
---
# Granite Vision Demos
## Install
(copied from DEVELOP.md)
```shell
# add the poetry shell and export plugins (you only need to do this once on your machine)
poetry self add poetry-plugin-shell
poetry self add poetry-plugin-export
# create and activate a python virtual environment
poetry shell
poetry install
```
## Run Demos
### RAG
Run with lazy loading models:
```
LAZY_LOADING=true gradio src/rag_app.py
```
### QA
```
gradio src/qa_app.py
```