File size: 518 Bytes
96f2e55
 
 
 
 
 
2ac9c48
 
 
 
 
 
 
 
 
 
 
 
96f2e55
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import gradio as gr
description = "BigGAN text-to-image demo."
title = "BigGAN ImageNet"
interface = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128", 
            description=description,
            title = title,
            examples=[
            ["lighthouse"],
            ["eyeglasses"],
            ["stool"],
            ["window"],
            ["hand"],
            ["dice"],
            ["cloud"],
            ["gate"],
            ["cat"],
            ["toes"]
            ]
)
interface.launch()