Spaces:
Sleeping
Sleeping
Hanna Hjelmeland
commited on
Commit
·
28981b1
1
Parent(s):
4877bf2
Add app title
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
__all__ = ['
|
2 |
|
3 |
# Cell
|
4 |
from fastai.vision.all import *
|
@@ -21,5 +21,7 @@ image = gr.inputs.Image(shape=(192, 192))
|
|
21 |
label = gr.outputs.Label()
|
22 |
examples = ['images/flower.jpg', 'images/plant.jpg', 'images/dunno.jpg']
|
23 |
|
24 |
-
|
|
|
|
|
25 |
intf.launch(inline=False)
|
|
|
1 |
+
__all__ = ['is_flower', 'learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
|
2 |
|
3 |
# Cell
|
4 |
from fastai.vision.all import *
|
|
|
21 |
label = gr.outputs.Label()
|
22 |
examples = ['images/flower.jpg', 'images/plant.jpg', 'images/dunno.jpg']
|
23 |
|
24 |
+
app_title = "Plant or Flower Classifier"
|
25 |
+
|
26 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples, title=app_title)
|
27 |
intf.launch(inline=False)
|