`streaming_prefill` can't handle the parameter `omni_input=False`

#31
by yzmyyff - opened

https://huggingface.co/openbmb/MiniCPM-o-2_6/blob/main/modeling_minicpmo.py#L1093

if omni_input=False it should join the cur_msgs too.

cur_contents = "".join(cur_msgs) if omni_input else "\n".join(omni_input) 

BTW, I don't fully understand when omni_input should be False. could you provide some more doc?

OpenBMB org

Only image or audio input, then omni_input=false

Cuiunbo changed discussion status to closed

Sign up or log in to comment