Anithprakash commited on
Commit
4de048a
·
verified ·
1 Parent(s): 719290c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -39,6 +39,8 @@ title="FoodVision Mini 🍕🥩🍣"
39
  description= "An EfficientNetB2 feature extractor computer vision model to classify images of food as pizza, steak or sushi."
40
  article="tryin to learn pytorch"
41
 
 
 
42
  demo=gr.Interface(fn=predict,
43
  inputs=gr.Image(type="pil"),
44
  outputs=[gr.Label(num_top_classes=3,label="Prediction"),
 
39
  description= "An EfficientNetB2 feature extractor computer vision model to classify images of food as pizza, steak or sushi."
40
  article="tryin to learn pytorch"
41
 
42
+ example_list = [["examples/" + example] for example in os.listdir("examples")]
43
+
44
  demo=gr.Interface(fn=predict,
45
  inputs=gr.Image(type="pil"),
46
  outputs=[gr.Label(num_top_classes=3,label="Prediction"),