Please follow the instructions below to run the Video-ChatGPT demo on your local GPU machine.
Note: Our demo requires approximately 18 GB of GPU memory.
We recommend setting up a conda environment for the project:
conda create --name=video_chatgpt python=3.10
conda activate video_chatgpt
git clone https://github.com/thanhphat-19/Video-ChatGPT-demo.git
cd Video-ChatGPT
pip install -r requirements.txt
export PYTHONPATH="./:$PYTHONPATH"
sudo apt-get install git-lfs
huggingface-cli
git clone https://huggingface.co/mmaaz60/LLaVA-7B-Lightening-v1-1
git clone https://huggingface.co/MBZUAI/Video-ChatGPT-7B
python video_chatgpt/demo/video_demo.py
--model-name "../../Video-ChatGPT-demo/LLaVA-7B-Lightening-v1-1"
--projection_path "../../Video-ChatGPT-demo/Video-ChatGPT-7B/video_chatgpt-7B.bin"
Follow the instructions on the screen to open the demo dashboard.