Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,10 +17,12 @@ title = "Dutch Snack Detector"
|
|
17 |
|
18 |
description = "Dutch Snack Detector: Detect your Dutch snack and enjoy"
|
19 |
|
|
|
|
|
20 |
examples = ['frikandel.jpg','kroket.jpg','bitterballen.jpg']
|
21 |
|
22 |
interpretation='default'
|
23 |
|
24 |
enable_queue=True
|
25 |
|
26 |
-
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(224, 224)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|
|
|
17 |
|
18 |
description = "Dutch Snack Detector: Detect your Dutch snack and enjoy"
|
19 |
|
20 |
+
text = "Snacks can be found everywhere in the Netherlands as they are often sold at stands as street food and as appetisers in bars and restaurants. This classifier is tied to savoury snacks which you most often find in Dutch snackbars. It ranges from the famous frikandel till the lesser -locally- known knoeperd"
|
21 |
+
|
22 |
examples = ['frikandel.jpg','kroket.jpg','bitterballen.jpg']
|
23 |
|
24 |
interpretation='default'
|
25 |
|
26 |
enable_queue=True
|
27 |
|
28 |
+
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(224, 224)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,text=text,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|