Spaces:
Sleeping
Sleeping
Commit
·
24d5a03
1
Parent(s):
b3a91df
adding title
Browse files
app.py
CHANGED
|
@@ -37,8 +37,9 @@ def classify_image(img):
|
|
| 37 |
iface = gr.Interface(
|
| 38 |
fn=classify_image,
|
| 39 |
inputs=gr.Image(type="pil"),
|
| 40 |
-
outputs=gr.Label(num_top_classes=10)
|
|
|
|
| 41 |
)
|
| 42 |
|
| 43 |
# Launch the Gradio app
|
| 44 |
-
iface.launch(
|
|
|
|
| 37 |
iface = gr.Interface(
|
| 38 |
fn=classify_image,
|
| 39 |
inputs=gr.Image(type="pil"),
|
| 40 |
+
outputs=gr.Label(num_top_classes=10),
|
| 41 |
+
title="Predict the Image"
|
| 42 |
)
|
| 43 |
|
| 44 |
# Launch the Gradio app
|
| 45 |
+
iface.launch()
|