Spaces:
Sleeping
Sleeping
Remove article
Browse files
app.py
CHANGED
|
@@ -53,7 +53,6 @@ def predict(img) -> Tuple[Dict, float]:
|
|
| 53 |
# Create title , description and article
|
| 54 |
title = "FoodVision Mini 🍕🥩🍣"
|
| 55 |
description = " An [EfficinetNetB2](https://pytorch.org/vision/main/models/generated/torchvision.models.efficientnet_b2.html) feature extractor computer vision model to classify images as pizza, steak, sushi"
|
| 56 |
-
article = "Created at [09. PyTorch Model Deployment](https://www.learnpytorch.io/09_pytorch_model_deployment/)"
|
| 57 |
|
| 58 |
# Create example list
|
| 59 |
example_list = [["examples/"+example] for example in os.listdir("examples")]
|
|
@@ -67,7 +66,6 @@ demo = gr.Interface(fn=predict, # maps inputs to ouputs
|
|
| 67 |
examples=example_list,
|
| 68 |
title=title,
|
| 69 |
description=description,
|
| 70 |
-
article=article,
|
| 71 |
cache_examples=True)
|
| 72 |
|
| 73 |
# Launch the demo!
|
|
|
|
| 53 |
# Create title , description and article
|
| 54 |
title = "FoodVision Mini 🍕🥩🍣"
|
| 55 |
description = " An [EfficinetNetB2](https://pytorch.org/vision/main/models/generated/torchvision.models.efficientnet_b2.html) feature extractor computer vision model to classify images as pizza, steak, sushi"
|
|
|
|
| 56 |
|
| 57 |
# Create example list
|
| 58 |
example_list = [["examples/"+example] for example in os.listdir("examples")]
|
|
|
|
| 66 |
examples=example_list,
|
| 67 |
title=title,
|
| 68 |
description=description,
|
|
|
|
| 69 |
cache_examples=True)
|
| 70 |
|
| 71 |
# Launch the demo!
|