Vision-CAIR
commited on
Commit
•
2202d00
1
Parent(s):
87cd64a
Push model using huggingface_hub.
Browse files- mini_gpt4_llama_v2.py +2 -2
mini_gpt4_llama_v2.py
CHANGED
@@ -88,8 +88,8 @@ class MiniGPT4_Video(Blip2Base, PreTrainedModel):
|
|
88 |
cfg={},
|
89 |
):
|
90 |
## loop through the config minigpt4_video_config object and set the attributes
|
91 |
-
if isinstance(cfg, minigpt4_video_config):
|
92 |
-
|
93 |
|
94 |
for key, value in cfg.items():
|
95 |
try:
|
|
|
88 |
cfg={},
|
89 |
):
|
90 |
## loop through the config minigpt4_video_config object and set the attributes
|
91 |
+
# if isinstance(cfg, minigpt4_video_config):
|
92 |
+
cfg = cfg.to_dict()
|
93 |
|
94 |
for key, value in cfg.items():
|
95 |
try:
|