From 9c2ff37ae990deb0c71d43ddb6c678658e43a0ea Mon Sep 17 00:00:00 2001 From: 游雁 <zhifu.gzf@alibaba-inc.com> Date: 星期二, 05 三月 2024 18:04:15 +0800 Subject: [PATCH] qwenaudio qwenaudiochat --- examples/industrial_data_pretraining/qwen_audio/demo_chat_from_local.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/examples/industrial_data_pretraining/qwen_audio/demo_chat_from_local.py b/examples/industrial_data_pretraining/qwen_audio/demo_chat_from_local.py index d3c19b2..2333217 100644 --- a/examples/industrial_data_pretraining/qwen_audio/demo_chat_from_local.py +++ b/examples/industrial_data_pretraining/qwen_audio/demo_chat_from_local.py @@ -19,8 +19,9 @@ res = model.generate(input=audio_in, prompt=prompt, cache=cache) print(res) -prompt = 'Find the start time and end time of the word "middle classes"' + # 2nd dialogue turn +prompt = 'Find the start time and end time of the word "middle classes"' res = model.generate(input=None, prompt=prompt, cache=cache) print(res) -- Gitblit v1.9.1