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)