Need help with hugging face API endpoint. ModelError: code "400"

Hi,

I’m trying to create a web app where users can generate their own images. I deployed my model on AWS SageMaker. I trained my own model through thelastben’s dreambooth and it’s currently uploaded to hugging face. Here is the link to that model: nexusai3060/2d-scenes · Hugging Face

When I run my code to test the image generation, I keep getting an error regarding API endpoint. More specifically:
"ModelError: An error occurred (ModelError) when calling the InvokeEndpoint operation: Received client error (400) from primary with message “{
“code”: 400,
“type”: “InternalServerException”,
“message”: “\u0027NoneType\u0027 object has no attribute \u0027startswith\u0027”
}”

I’m getting answers that it’s because my model is not compatible with StableDiffusionPipeline.from_pretrained. So, how do I make it compatible? is there a file missing? From what I read, TheLastBen’s DreamBooth is compatible with the stable diffusion model. I used the google colab to upload the models, so it should work. If anyone knows the answer, I’d greatly appreciate it.