mrhan1993 / Fooocus-API

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

Upscale (Fast 2x) - Worker error: list index out of range #319

Closed sev222 closed 1 month ago

sev222 commented 1 month ago

if uov_method == 'Upscale (Fast 2x)' - I'm not getting a result.

Example: POST v2/generation/image-upscale-vary req: { "uov_method": "Upscale (2x)", "input_image": "data:image/jpeg;base64,/9j/4AAQ..." } res: [ { "base64": null, "url": "http://127.0.0.1:8888/files/2024-05-08/c0b7ac4c-90e0-4660-8108-56be6382e317-0.png", "seed": "6762641420892898683", "finish_reason": "SUCCESS" } ],

req: { "uov_method": "Upscale (Fast 2x)", "input_image": "data:image/jpeg;base64,/9j/4AAQ..." } res: (empty), console error: Worker error: list index out of range.

Please fix it or tell me what I'm doing wrong?