Bijan k
commited on
Commit
Β·
09481ab
1
Parent(s):
15f0ddc
credit
Browse files
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 |
-
|
| 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 |
-
|
| 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!
|