File size: 266 Bytes
fd7f135
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import os

# Set the CUDA_VISIBLE_DEVICES environment variable
os.environ["CUDA_VISIBLE_DEVICES"] = "0"

# Run the web demo
command = "python mllm/demo/web_demo.py --model_path AoZhang/nextchat-7b-336 --vit_path openai/clip-vit-large-patch14-336"
os.system(command)