Commit
·
69d7fe2
1
Parent(s):
2c6c5df
Update CircumSpect/vqa/vqa.py
Browse files- CircumSpect/vqa/vqa.py +1 -1
CircumSpect/vqa/vqa.py
CHANGED
@@ -29,7 +29,7 @@ disable_torch_init()
|
|
29 |
|
30 |
model_name = os.environ.get('VLM_MODEL')
|
31 |
|
32 |
-
model_path = "models/CRYSTAL-vision" if model_name
|
33 |
model_base = None
|
34 |
conv_mode = None
|
35 |
temperature = 0.2
|
|
|
29 |
|
30 |
model_name = os.environ.get('VLM_MODEL')
|
31 |
|
32 |
+
model_path = "models/CRYSTAL-vision" if model_name == None else model_name
|
33 |
model_base = None
|
34 |
conv_mode = None
|
35 |
temperature = 0.2
|