Upload app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,8 @@ label = gr.outputs.Label()
|
|
18 |
examples = ['persimmon.jpg', 'tomato.jpg', 'persimmontree.jpg',
|
19 |
'tomatoplant.jpg', 'cat.jpg', 'tomatoplant2.jpg']
|
20 |
|
21 |
-
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples
|
|
|
22 |
intf.launch(inline=False)
|
23 |
|
24 |
#def greet(name):
|
|
|
18 |
examples = ['persimmon.jpg', 'tomato.jpg', 'persimmontree.jpg',
|
19 |
'tomatoplant.jpg', 'cat.jpg', 'tomatoplant2.jpg']
|
20 |
|
21 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples,
|
22 |
+
title="Persimmon or Tomato?", description="Trained on only persimmon and tomato images auto-retrieved from a DDG search.")
|
23 |
intf.launch(inline=False)
|
24 |
|
25 |
#def greet(name):
|