[Bugfix] Allow token ID-only inputs in Qwen2-Audio (#10536)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
parent
c51e397fe8
commit
e7a8341c7c
@ -212,7 +212,7 @@ def input_processor_for_qwen2_audio(
|
||||
|
||||
return token_inputs(
|
||||
prompt_token_ids=new_input_ids,
|
||||
prompt=inputs['prompt'],
|
||||
prompt=inputs.get("prompt"),
|
||||
multi_modal_data=multi_modal_data,
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user