From bd9e63063f7cf6cd5f61d8633472fdd4b63484be Mon Sep 17 00:00:00 2001
From: szsteven008 <97944818+szsteven008@users.noreply.github.com>
Date: 星期二, 28 五月 2024 11:03:56 +0800
Subject: [PATCH] 修复了onnxruntime在macos下编译失败的错误 (#1748)
---
examples/industrial_data_pretraining/qwen_audio/demo_chat.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/examples/industrial_data_pretraining/qwen_audio/demo_chat.py b/examples/industrial_data_pretraining/qwen_audio/demo_chat.py
index a2fb05b..6a69fa1 100644
--- a/examples/industrial_data_pretraining/qwen_audio/demo_chat.py
+++ b/examples/industrial_data_pretraining/qwen_audio/demo_chat.py
@@ -12,7 +12,7 @@
audio_in = "https://github.com/QwenLM/Qwen-Audio/raw/main/assets/audio/1272-128104-0000.flac"
# 1st dialogue turn
-prompt = 'what does the person say?'
+prompt = "what does the person say?"
cache = {"history": None}
res = model.generate(input=audio_in, prompt=prompt, cache=cache)
print(res)
@@ -22,4 +22,3 @@
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