RuudVelo commited on
Commit
7afd7c9
1 Parent(s): 5191952

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,9 +15,9 @@ def predict(img):
15
 
16
  title = "Dutch Snack Detector"
17
 
18
- description = "Dutch Snack Detector: Detect your Dutch snack and enjoy
19
 
20
- 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
 
@@ -25,4 +25,4 @@ 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,theme='seafoam',examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
 
15
 
16
  title = "Dutch Snack Detector"
17
 
18
+ description = "Dutch Snack Detector: Detect your Dutch snack and enjoy"
19
 
20
+ article = "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
 
 
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,article=article,theme='seafoam',examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()