import gradio as gr #Example from https://huggingface.co/spaces/merve/BigGAN-ImageNET description = "Text to image demo 🦀" title = "BigGAN ImageNet" def greet(name): return "Hello there " + name + "!!" iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch() interface = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128", description=description, title = title, examples=[["american robin"]] ) interface.launch()