Spaces:
Sleeping
Sleeping
Fix syntax error in article line
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def predict(img) -> Tuple[Dict, float]:
|
|
| 46 |
# Create title, description and article strings
|
| 47 |
title = "VisionBite ππ₯©π£"
|
| 48 |
description = "A Vision Transformer (ViT-Base-16) model trained to classify images of food into 121 distinct categories. The model uses a transformer-based architecture to extract visual features and achieve accurate classification across diverse food items."
|
| 49 |
-
article = "Model
|
| 50 |
|
| 51 |
# Create examples list from "examples/" directory
|
| 52 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
|
|
| 46 |
# Create title, description and article strings
|
| 47 |
title = "VisionBite ππ₯©π£"
|
| 48 |
description = "A Vision Transformer (ViT-Base-16) model trained to classify images of food into 121 distinct categories. The model uses a transformer-based architecture to extract visual features and achieve accurate classification across diverse food items."
|
| 49 |
+
article = "Model has been trained on Food121 dataset (https://huggingface.co/datasets/ItsNotRohit/Food121) and has an accuracy of 95% on top 5 predictions."
|
| 50 |
|
| 51 |
# Create examples list from "examples/" directory
|
| 52 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|