light-and-ray / sd-webui-replacer

A tab for sd-webui for replacing objects in pictures or videos using detection prompt
193 stars 11 forks source link

Setting `replacer_examples_per_page_for_detection_prompt` to `0` causes webui to hang on loading #65

Closed QuantumEntangledAndy closed 4 months ago

QuantumEntangledAndy commented 4 months ago

I tried removing the example by setting number of example to 0 in the settings. However web-ui would no longer get past Loading... and seem to cause the scripts to hang. Could fix by setting replacer_examples_per_page_for_detection_prompt back to 10 in config.json

light-and-ray commented 4 months ago

Thanks for reporting. I will fix it and allow 0 means hide examples

QuantumEntangledAndy commented 4 months ago

Don't suppose you could also add the class autocomplete to the prompt boxes it will let my browser highlight spelling mistakes like the usual prompt does

light-and-ray commented 4 months ago

Done. It still will use placeholder, you can disable them by another option. For detection prompts it is not possible, because they mustn't be empty

QuantumEntangledAndy commented 4 months ago

Thanks I'll update in a few hours and test it out then