Spaces:
Sleeping
Sleeping
Add a title and description to the interface
Browse files
app.py
CHANGED
|
@@ -24,5 +24,8 @@ image = gr.inputs.Image(shape=(192,192))
|
|
| 24 |
label = gr.outputs.Label()
|
| 25 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.png' ]
|
| 26 |
|
| 27 |
-
intf = gr.Interface(
|
|
|
|
|
|
|
|
|
|
| 28 |
intf.launch(inline=False)
|
|
|
|
| 24 |
label = gr.outputs.Label()
|
| 25 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.png' ]
|
| 26 |
|
| 27 |
+
intf = gr.Interface(
|
| 28 |
+
title="Dogs vs Cats",
|
| 29 |
+
description="Upload a photo of a dog or cat and see it get classified!",
|
| 30 |
+
fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 31 |
intf.launch(inline=False)
|