sayakpaul's picture
sayakpaul HF staff
Upload StableDiffusion3Pipeline
68a5125 verified
|
raw
history blame
372 Bytes
metadata
library_name: diffusers
tags:
  - stable-diffusion-3.5
  - diffusers
  - text-to-image
  - endpoints-template
inference: false
from handler import EndpointHandler

my_handler = EndpointHandler()
payload = {"inputs": {"prompt": "a dog waiting for its companion to come."}}

# test the handler
image = my_handler(payload)
image.save("image.png")