Pengyu-gis commited on
Commit
fd7f135
·
1 Parent(s): 858a3d9

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ # Set the CUDA_VISIBLE_DEVICES environment variable
4
+ os.environ["CUDA_VISIBLE_DEVICES"] = "0"
5
+
6
+ # Run the web demo
7
+ command = "python mllm/demo/web_demo.py --model_path AoZhang/nextchat-7b-336 --vit_path openai/clip-vit-large-patch14-336"
8
+ os.system(command)