Skip to content

Commit b980839

Browse files
committed
Get moondream tokenizer correctly
1 parent fff294c commit b980839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taggui/auto_captioning/captioning_thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
def get_tokenizer_from_processor(model_type: ModelType, processor):
3333
if model_type in (ModelType.COGAGENT, ModelType.COGVLM,
34-
ModelType.XCOMPOSER2):
34+
ModelType.MOONDREAM, ModelType.XCOMPOSER2):
3535
return processor
3636
return processor.tokenizer
3737

0 commit comments

Comments
 (0)