mirror of https://github.com/Mai-with-u/MaiBot.git
pull/541/head
parent
49f57c2364
commit
f2f642a9e6
|
|
@ -177,9 +177,10 @@ class EmojiManager:
|
|||
logger.error(f"获取表情包失败: {str(e)}")
|
||||
return None
|
||||
|
||||
|
||||
async def _get_emoji_discription(self, image_base64: str) -> str:
|
||||
"""获取表情包的标签,使用image_manager的描述生成功能"""
|
||||
|
||||
|
||||
try:
|
||||
# 使用image_manager获取描述,去掉前后的方括号和"表情包:"前缀
|
||||
description = await image_manager.get_emoji_description(image_base64)
|
||||
|
|
|
|||
Loading…
Reference in New Issue