Skip to content

Gradio demo used in our Osprey:Pixel Understanding with Visual Instruction Tuning.

License

Notifications You must be signed in to change notification settings

LiWentomng/gradio-osprey-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradio-Osprey-Demo

This is the gradio used in demo of our Osprey, Pixel Understanding with Visual Instruction Tuning. It is an extension to official gradio-3.36.1, which supports drawing boxes on top of an image.

Install

1. Install Node.js

We install it on Ubuntu with:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash

source ~/.bashrc # or ~/.zshrc based on which one you use

nvm install v18.16.0

2. Install ppnm

curl -fsSL https://get.pnpm.io/install.sh | sh -

source ~/.bashrc # or ~/.zshrc based on which one you use

pnpm --version  # check if success

3. Install gradio

git clone https://github.com/LiWentomng/gradio-osprey-demo.git

cd gradio-osprey-demo

bash scripts/build_frontend.sh

pip install -e .

Acknowledgement

The implementation is inspired by gradio-box and gradio-app/gradio#3220, with several modifications to gradio-3.36.1. Thanks for their open-source contributions!

About

Gradio demo used in our Osprey:Pixel Understanding with Visual Instruction Tuning.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published