fix: 那我问你那我问你
get_embedding没有使用协程
This commit is contained in:
@@ -299,7 +299,7 @@ class EmojiManager:
|
|||||||
logger.info(f"其不满足过滤规则,被剔除 {check}")
|
logger.info(f"其不满足过滤规则,被剔除 {check}")
|
||||||
continue
|
continue
|
||||||
logger.info(f"check通过 {check}")
|
logger.info(f"check通过 {check}")
|
||||||
embedding = get_embedding(discription)
|
embedding = await get_embedding(discription)
|
||||||
if discription is not None:
|
if discription is not None:
|
||||||
# 准备数据库记录
|
# 准备数据库记录
|
||||||
emoji_record = {
|
emoji_record = {
|
||||||
|
|||||||
Reference in New Issue
Block a user