Bijan k commited on
Commit
09481ab
Β·
1 Parent(s): 15f0ddc
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,7 +57,7 @@ def predict(img) -> Tuple[Dict, float]:
57
  # Create title, description and article strings
58
  title = "Food Classifier for πŸ•πŸ₯©πŸ£"
59
  description = "An EfficientNetB2 feature extractor computer vision model to classify images of food as pizza, steak or sushi."
60
- # article = "One of the practice projects of [learnpytorch.io](https://www.learnpytorch.io/). uploaded here for training purposes with minor modifications"
61
 
62
  # Create examples list from "examples/" directory
63
  example_list = [["examples/" + example] for example in os.listdir("examples")]
@@ -71,7 +71,7 @@ demo = gr.Interface(fn=predict, # mapping function from input to output
71
  examples=example_list,
72
  title=title,
73
  description=description,
74
- # article=article
75
  )
76
 
77
  # Launch the demo!
 
57
  # Create title, description and article strings
58
  title = "Food Classifier for πŸ•πŸ₯©πŸ£"
59
  description = "An EfficientNetB2 feature extractor computer vision model to classify images of food as pizza, steak or sushi."
60
+ article = "One of the practice projects of [learnpytorch.io](https://www.learnpytorch.io/). uploaded here for training purposes with minor modifications"
61
 
62
  # Create examples list from "examples/" directory
63
  example_list = [["examples/" + example] for example in os.listdir("examples")]
 
71
  examples=example_list,
72
  title=title,
73
  description=description,
74
+ article=article
75
  )
76
 
77
  # Launch the demo!