CYDXDianXian/AI_image_gen

拉取了更新,以图绘图时报错,显示生成失败…'coroutine' object has no attribute 'content'

ryujou opened this issue · 4 comments

拉取了更新,以图绘图时报错,显示生成失败…'coroutine' object has no attribute 'content'

IMG_20221013_084324
ai绘图指令正常

回退到commit ae60ccd99e9e5ffee1043e11ed61d808146741c1功能恢复正常
qq_pic_merged_1665622897256

此处改为__init__.py 524行
image = Image.open(io.BytesIO(await (await aiorequests.get(url, timeout=20)).content))

此处改为init.py 524行 image = Image.open(io.BytesIO(await (await aiorequests.get(url, timeout=20)).content))

感谢指出!已更新!