fix bug in minicpm-v code

This commit is contained in:
caitianchi 2025-01-30 22:47:30 +08:00
parent 3d804dec76
commit f538bf5b15
3 changed files with 26 additions and 11 deletions

View file

@ -597,7 +597,6 @@ elif args.minicpmv_projector is not None:
fname_middle = "mmproj-"
has_text_encoder = False
has_minicpmv_projector = True
minicpmv_version = 4
elif args.vision_only:
fname_middle = "vision-"
has_text_encoder = False