mrhan1993 / Fooocus-API

FastAPI powered API for Fooocus
GNU General Public License v3.0
567 stars 152 forks source link

使用文生图的接口,传递loras时返回一个错误 #290

Closed DraGonPlan closed 5 months ago

DraGonPlan commented 5 months ago

查看代码发现loras是三个参数 {"enabled": true, "model_name": "sd_xl_offset_example-lora_1.0.safetensors", "weight": 0.8} 文档中只介绍了model_name,weight,没有提及enabled 此问题可以关闭了。

mrhan1993 commented 5 months ago

因为没更新文档。