Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1,18 +1,20 @@
|
|
1 |
import sys
|
2 |
from huggingface_hub import snapshot_download
|
3 |
snapshot_download(
|
4 |
-
'ermu2001/pllava-
|
5 |
-
local_dir='MODELS/pllava-
|
6 |
repo_type='model',
|
7 |
local_dir_use_symlinks=True,
|
8 |
)
|
9 |
|
10 |
sys.argv.extend([
|
11 |
-
"--pretrained_model_name_or_path", "MODELS/pllava-
|
12 |
"--num_frames", "16",
|
13 |
"--use_lora",
|
14 |
-
"--weight_dir", "MODELS/pllava-
|
15 |
"--lora_alpha", "4",
|
16 |
-
"--conv_mode", "
|
|
|
17 |
])
|
|
|
18 |
import tasks.eval.demo.pllava_demo
|
|
|
1 |
import sys
|
2 |
from huggingface_hub import snapshot_download
|
3 |
snapshot_download(
|
4 |
+
'ermu2001/pllava-34b',
|
5 |
+
local_dir='MODELS/pllava-34b',
|
6 |
repo_type='model',
|
7 |
local_dir_use_symlinks=True,
|
8 |
)
|
9 |
|
10 |
sys.argv.extend([
|
11 |
+
"--pretrained_model_name_or_path", "MODELS/pllava-34b",
|
12 |
"--num_frames", "16",
|
13 |
"--use_lora",
|
14 |
+
"--weight_dir", "MODELS/pllava-34b",
|
15 |
"--lora_alpha", "4",
|
16 |
+
"--conv_mode", "eval_vcg_llavanext",
|
17 |
+
"--use_multi_gpus"
|
18 |
])
|
19 |
+
|
20 |
import tasks.eval.demo.pllava_demo
|