ishworrsubedii's picture
add: image generation and refactor prompt
978360d
raw
history blame contribute delete
175 Bytes
import replicate
def image_generation(prompt: dict):
output = replicate.run(
"black-forest-labs/flux-schnell",
input=prompt,
)
return output[0]