Hide sampling method select from unsupported backends
| @@ -242,7 +242,7 @@ | ||
| 242 | 242 | </div> |
| 243 | 243 | |
| 244 | 244 | <div class="flex-container"> |
| 245 | - <div class="flex1"> | |
| 245 | + <div class="flex1" data-sd-source="extras,horde,auto,drawthings,novel,vlad,comfy"> | |
| 246 | 246 | <label for="sd_sampler" data-i18n="Sampling method">Sampling method</label> |
| 247 | 247 | <select id="sd_sampler"></select> |
| 248 | 248 | </div> |
| @@ -807,6 +807,8 @@ stability.post('/generate', jsonParser, async (request, response) => { | ||
| 807 | 807 | |
| 808 | 808 | const { payload, model } = request.body; |
| 809 | 809 | |
| 810 | + console.log('Stability AI request:', model, payload); | |
| 811 | + | |
| 810 | 812 | const formData = new FormData(); |
| 811 | 813 | for (const [key, value] of Object.entries(payload)) { |
| 812 | 814 | if (value !== undefined) { |