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