Spaces:
Runtime error
Runtime error
Commit
•
1883cbf
1
Parent(s):
506e81f
Fast Update
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ def classify_image(img):
|
|
11 |
|
12 |
image = gr.inputs.Image(shape=(192, 192))
|
13 |
label = gr.outputs.Label()
|
14 |
-
examples = ["chai.jpg", ""]
|
15 |
|
16 |
intf = gr.Interface(fn=classify_image, inputs=image,
|
17 |
-
outputs=label, examples=examples)
|
18 |
intf.launch(inline=False)
|
|
|
11 |
|
12 |
image = gr.inputs.Image(shape=(192, 192))
|
13 |
label = gr.outputs.Label()
|
14 |
+
examples = ["chai.jpg", "coffee.jpg"]
|
15 |
|
16 |
intf = gr.Interface(fn=classify_image, inputs=image,
|
17 |
+
outputs=label, examples=examples, title="Chai or Coffee !!!")
|
18 |
intf.launch(inline=False)
|