Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
#
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 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()
|