File size: 338 Bytes
cdf3969
f8eb43e
cdf3969
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import gradio as gr
from transformers import BertTokenizer,BertModel
description = "BigGAN text-to-image demo."
title = "BigGAN ImageNet"
interface = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128", 
            description=description,
            title = title,
            examples=[["american robin"]]
)
interface.launch()