Open GGuussss opened 7 months ago
Thank you. I will add this in the next update.
Sorry bit un fact jour code is working, but only if stable diffusion ils already started when you start oobagooba
M'y code doesn't work after few tests.
I think you shoud allow initialise modèles paramètres only if thé SD server ils online.
https://github.com/Trojaner/text-generation-webui-stable_diffusion/blob/a6b46a58af6795a059473ee51ac3a6913e62bb2c/ui.py#L509C44-L509C44
in order to avoid special char to generate error at loading UI, I suggest to replace that ligne (509) with that one :
checkpoint["title"] re.sub(r'[\W]','_', for checkpoint in sd_client.get_sd_models())
and at top, add :
import re
Edit: forget that, idk but it works one time and after generate a syntax error ... So there is a problem while loading data into the Dropdown, I have some checkpoints with
[
and]
, it seems to generate an error, so the code have to avoid that.