Spaces:
Sleeping
Sleeping
remove article
Browse files
app.py
CHANGED
@@ -57,7 +57,6 @@ def predict(img) -> Tuple[Dict, float]:
|
|
57 |
# Create title, description and article strings
|
58 |
title = "FoodVision Mini ππ₯©π£"
|
59 |
description = "An EfficientNetB2 feature extractor computer vision model to classify images of food as pizza, steak or sushi."
|
60 |
-
article = "Created at [09. PyTorch Model Deployment](https://www.learnpytorch.io/09_pytorch_model_deployment/)."
|
61 |
|
62 |
# Create examples list from "examples/" directory
|
63 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
@@ -70,8 +69,7 @@ demo = gr.Interface(fn=predict, # mapping function from input to output
|
|
70 |
# Create examples list from "examples/" directory
|
71 |
examples=example_list,
|
72 |
title=title,
|
73 |
-
description=description
|
74 |
-
article=article)
|
75 |
|
76 |
# Launch the demo!
|
77 |
demo.launch()
|
|
|
57 |
# Create title, description and article strings
|
58 |
title = "FoodVision Mini ππ₯©π£"
|
59 |
description = "An EfficientNetB2 feature extractor computer vision model to classify images of food as pizza, steak or sushi."
|
|
|
60 |
|
61 |
# Create examples list from "examples/" directory
|
62 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
|
69 |
# Create examples list from "examples/" directory
|
70 |
examples=example_list,
|
71 |
title=title,
|
72 |
+
description=description)
|
|
|
73 |
|
74 |
# Launch the demo!
|
75 |
demo.launch()
|