zachwormgoor@gmail.com
commited on
Commit
•
6814cdf
1
Parent(s):
f568638
Photos
Browse files- amateur2.jpg +0 -0
- app.py +7 -4
- stock.jpg +0 -0
amateur2.jpg
ADDED
app.py
CHANGED
@@ -57,10 +57,13 @@ def classify_image(img):
|
|
57 |
|
58 |
image = gr.inputs.Image(shape=(192, 192))
|
59 |
label = gr.outputs.Label()
|
60 |
-
examples = ['stock.jpg', 'stock-easy.jpg', 'stock-easy2.jpg', 'amateur.jpg', 'amateur-easy.jpg', 'amateur-easy2.jpg', 'unsure.jpg']
|
61 |
-
# stock:
|
62 |
-
#
|
63 |
-
#
|
|
|
|
|
|
|
64 |
|
65 |
|
66 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
|
|
57 |
|
58 |
image = gr.inputs.Image(shape=(192, 192))
|
59 |
label = gr.outputs.Label()
|
60 |
+
examples = ['stock.jpg', 'stock-easy.jpg', 'stock-easy2.jpg', 'amateur.jpg', 'amateur2.jpg', 'amateur-easy.jpg', 'amateur-easy2.jpg', 'unsure.jpg']
|
61 |
+
# stock: https://cdn.pixabay.com/photo/2022/02/11/12/12/pforphoto-7007231_1280.jpg
|
62 |
+
# stock-easy: https://scienceline.org/wp-content/uploads/2015/10/apple-926456_1280.jpg
|
63 |
+
# stock-easy2: https://ph-files.imgix.net/6b5cb0af-8bef-4700-b35f-8576e0ec58d8.jpeg?auto=format&fit=crop&frame=1&h=512&w=1024
|
64 |
+
# amateur: https://cimg3.ibsrv.net/cimg/www.honda-tech.com/1024x768_85/479/AAApril-2-Control-Arms-01-58479.jpg
|
65 |
+
# amateur2: https://www.iflash.xyz/images/diyMod/img7.jpg
|
66 |
+
# unsure: https://en.wikipedia.org/wiki/Joshua_Bean
|
67 |
|
68 |
|
69 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
stock.jpg
CHANGED