RuudVelo commited on
Commit
0c15f5b
1 Parent(s): c27a87b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ title = "Dutch Snack Detector"
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
 
@@ -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,text=text,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
 
 
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='huggingface',examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()