mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
fix
This commit is contained in:
@ -76,6 +76,8 @@ class VLMS(Blackbox):
|
||||
"top_k": self.top_k,
|
||||
"ignore_eos": self.ignore_eos,
|
||||
"skip_special_tokens": self.skip_special_tokens,
|
||||
# "system_prompt":"",
|
||||
# "vlm_model_name":" ",
|
||||
}
|
||||
|
||||
|
||||
@ -99,7 +101,7 @@ class VLMS(Blackbox):
|
||||
history: a list
|
||||
"""
|
||||
if settings:
|
||||
for k in settings:
|
||||
for k in list(settings.keys()):
|
||||
if k not in self.settings:
|
||||
print("Warning: '{}' is not a support argument and ignore this argment, check the arguments {}".format(k,self.settings.keys()))
|
||||
settings.pop(k)
|
||||
|
||||
Reference in New Issue
Block a user