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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -1,9 +1,8 @@
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()
 
1
  import gradio as gr
2
 
3
+ # Load the interface without specifying examples in the load() method
4
+ interface = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128")
5
+
6
+ # To add examples, you would typically define the interface yourself,
7
+ # but for a loaded interface, you just call the method without the extra args.
 
8
  interface.launch()