{ | |
"name": "text-to-image-generator", | |
"description": "Generates realistic images based on text prompts.", | |
"tags": ["image generation", "text-to-image", "deep learning"], | |
"pipeline_tag": "image-generation", | |
"inputs": [ | |
{ | |
"name": "prompt", | |
"type": "string", | |
"description": "The text prompt to generate an image for." | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "image", | |
"type": "image/jpeg", | |
"description": "The generated image." | |
} | |
], | |
"example": { | |
"prompt": "A cat sleeping on a windowsill.", | |
"image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/..." | |
}, | |
"language": "python", | |
"dependencies": { | |
"tensorflow": "2.6.0", | |
"pillow": "8.3.2", | |
"numpy": "1.19.5", | |
"scipy": "1.7.0", | |
"scikit-image": "0.18.3" | |
}, | |
"model": { | |
"url": "https://huggingface.co/models/text-to-image-generator", | |
"architecture": "CLIP-Guided GAN", | |
"framework": "tensorflow", | |
"tokenizer": "bert-base-uncased" | |
} | |
} | |