How to deploy on inference service

#4
by pariah1991 - opened

I am trying to deploy this model on the hugging face inference service however when I click through the workflow I get this warning:

Warning: deploying this model may fail because the model's Diffusers pipeline is not set. Try selecting a different model or creating a custom handler.

I have created a custom handler however it is not clear to me from the documentation how I pass in additional parameters such as the safety checker and image dimensions. Does anyone have an example of how this is done exactly?

Thanks in advance!

Sign up or log in to comment