Spaces:
Sleeping
Sleeping
Updating app.py per Gradio tutorial v4
Browse files- app.py +3 -3
- black bear - test.jfif +0 -0
- grizzly bear - test.jfif +0 -0
- teddy bear - test.jfif +0 -0
- teddy bear.jfif +0 -0
app.py
CHANGED
@@ -16,12 +16,12 @@ description = "A bear breed classifier trained on a custom dataset from DDG imag
|
|
16 |
#interpretation ='default'
|
17 |
image = gr.Image(height=192, width=192)
|
18 |
label = gr.Label()
|
19 |
-
examples = ['black bear.jpg', 'grizzly bear.jpg']
|
20 |
|
21 |
|
22 |
-
enable_queue=True
|
23 |
|
24 |
-
intf = gr.Interface(fn=predict, inputs=image, outputs=label, title=title, description=description,examples=examples
|
25 |
intf.launch(inline=False)
|
26 |
|
27 |
|
|
|
16 |
#interpretation ='default'
|
17 |
image = gr.Image(height=192, width=192)
|
18 |
label = gr.Label()
|
19 |
+
examples = ['black bear.jpg', 'grizzly bear.jpg', 'teddy bear.jpg']
|
20 |
|
21 |
|
22 |
+
#enable_queue=True
|
23 |
|
24 |
+
intf = gr.Interface(fn=predict, inputs=image, outputs=label, title=title, description=description,examples=examples)
|
25 |
intf.launch(inline=False)
|
26 |
|
27 |
|
black bear - test.jfif
ADDED
Binary file (11.1 kB). View file
|
|
grizzly bear - test.jfif
ADDED
Binary file (10.3 kB). View file
|
|
teddy bear - test.jfif
ADDED
Binary file (6.1 kB). View file
|
|
teddy bear.jfif
ADDED
Binary file (8.86 kB). View file
|
|