Spaces:
Runtime error
Runtime error
nearly done
Browse files
app.py
CHANGED
@@ -13,9 +13,8 @@ def classify_image(img):
|
|
13 |
return( dict(zip(categories, map(float,probs))))
|
14 |
|
15 |
interface_options = {
|
16 |
-
"title": "Which Watersport? Compare your guess to the machine
|
17 |
-
"description": "Click an image
|
18 |
-
You need to **\<Clear\>** before dragging next image. Other images can be dragged directly from google search.",
|
19 |
"examples": [f'{EXAMPLES_PATH}/{f.name}' for f in EXAMPLES_PATH.iterdir()],
|
20 |
"examples_per_page": "100"
|
21 |
}
|
|
|
13 |
return( dict(zip(categories, map(float,probs))))
|
14 |
|
15 |
interface_options = {
|
16 |
+
"title": "Which Watersport? Compare your guess to the machine inference.",
|
17 |
+
"description": "Click an image. Click Submit. Click Clear. Other images can be dragged directly from a google search. \nNote, the machine classifier relies purely on vision, of the image pixels - no other info used.",
|
|
|
18 |
"examples": [f'{EXAMPLES_PATH}/{f.name}' for f in EXAMPLES_PATH.iterdir()],
|
19 |
"examples_per_page": "100"
|
20 |
}
|