Skip to content

Commit 153446f

Browse files
committed
fix: qwen print format
1 parent 42bb050 commit 153446f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/autoslice/mllm_sdk/qwen_sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ def qwen_generate_title(video_path, artist):
3535
)
3636
scan_log.info("使用 Qwen-2.5-72B-Instruct 生成切片标题")
3737
scan_log.info(f"Prompt: 视频是{artist}的直播切片,请根据该视频中的内容及弹幕信息,为这段视频起一个调皮并且吸引眼球的标题,标题中不要表情符号,可以适当使用网络热词或流行语")
38-
scan_log.info(f"生成的切片标题为: {completion.choices[0].message.content.strip('"')}")
38+
scan_log.info(f"生成的切片标题为: {completion.choices[0].message.content}")
3939
return completion.choices[0].message.content.strip('"')

0 commit comments

Comments
 (0)