cforge42 commited on
Commit
ae69d05
·
verified ·
1 Parent(s): ab03ae0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
- description = "BigGAN text-to-image demo."
3
- title = "BigGAN ImageNet"
4
- interface = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128",
5
- description=description,
6
- title = title,
7
- examples=[["american robin"]]
8
  )
9
  interface.launch()
 
1
  import gradio as gr
2
+
3
+ # The model already has a description and title on the Hugging Face Hub.
4
+ # You can set these arguments directly on the Interface() constructor if you are creating it directly.
5
+ interface = gr.Interface.load(
6
+ "huggingface/osanseviero/BigGAN-deep-128",
7
+ examples=[["american robin"]]
8
  )
9
  interface.launch()