File size: 1,116 Bytes
3c09f17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
    "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"
    }
}