Update convert-image-encoder-to-gguf.py
thnx @Twobob
This commit is contained in:
parent
923ef855ad
commit
31106553db
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ if args.use_f32:
|
|||
# output in the same directory as the model if output_dir is None
|
||||
dir_model = args.model_dir
|
||||
|
||||
if args.clip_model_is_vision or not os.path.exists(dir_model + "/vocab.json") or clip_model_is_openclip:
|
||||
if args.clip_model_is_vision or not os.path.exists(dir_model + "/vocab.json") or args.clip_model_is_openclip:
|
||||
vocab = None
|
||||
tokens = None
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue