Update lollms_sd.py

This commit is contained in:
Saifeddine ALOUI 2025-03-06 15:12:13 +01:00 committed by GitHub
parent b163a26061
commit 241e7e84e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -714,7 +714,7 @@ class LollmsSD(LollmsTTI):
#elif self.has_controlnet:
# workaround : if not passed, webui will use previous args!
# payload["alwayson_scripts"]["ControlNet"] = {"args": []}
print(self.sd_base_url)
return self.post_and_get_api_result(
f"{self.sd_base_url}/txt2img", payload, use_async
)