Creating a Flux LoRA training failed with input_images must be a zip file even though the uploaded file was a valid zip. Maintainer mattt found the cause in how file uploads pass filenames: when you hand the client a file handle, the filename was not being sent correctly, so the model's validation logic rejected it. The fix shipped in replicate-python 0.32.1 via PR #343. The reporter confirmed upgrading fixed it. As a workaround, uploading the zip to S3 or R2 and passing the URL also works.