Spaces:
Runtime error
Runtime error
Jessica Walkenhorst
commited on
Commit
•
5eaaa37
1
Parent(s):
206fd17
Add more examples
Browse files- .gitattributes +1 -0
- app.py +1 -1
- cygnet.jpg +3 -0
- sunflower.jpg +3 -0
- whiteclouds.jpg +3 -0
- yellowclouds.jpg +3 -0
.gitattributes
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
*.joblib filter=lfs diff=lfs merge=lfs -text
|
|
|
10 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
*.model filter=lfs diff=lfs merge=lfs -text
|
|
|
7 |
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
11 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
12 |
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
13 |
*.model filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -14,7 +14,7 @@ def classify_image(image):
|
|
14 |
title = 'Mirror, mirror on the wall am I a duckling or a cygnet after all?'
|
15 |
description = """Hans Christian Andersen's tale of the ugly duckling tells us about the sad youth of a cygnet acidentally being brought up in a family of ducks and being ostrized for its ugliness.\n But what if the poor cygnet had a magic mirror to tell it that it was in fact a young swan after all? Machine learning to the rescue!"""
|
16 |
|
17 |
-
examples = ['duckling.jpg']
|
18 |
|
19 |
app = gr.Interface(fn=classify_image,
|
20 |
inputs=gr.components.Image(),
|
|
|
14 |
title = 'Mirror, mirror on the wall am I a duckling or a cygnet after all?'
|
15 |
description = """Hans Christian Andersen's tale of the ugly duckling tells us about the sad youth of a cygnet acidentally being brought up in a family of ducks and being ostrized for its ugliness.\n But what if the poor cygnet had a magic mirror to tell it that it was in fact a young swan after all? Machine learning to the rescue!"""
|
16 |
|
17 |
+
examples = ['duckling.jpg', 'cygnet.jpg', 'sunflower.jpg', 'whiteclouds.jpg', 'yellowclouds.jpg']
|
18 |
|
19 |
app = gr.Interface(fn=classify_image,
|
20 |
inputs=gr.components.Image(),
|
cygnet.jpg
ADDED
Git LFS Details
|
sunflower.jpg
ADDED
Git LFS Details
|
whiteclouds.jpg
ADDED
Git LFS Details
|
yellowclouds.jpg
ADDED
Git LFS Details
|