Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,6 @@ def predict(img) -> Tuple[Dict, float]:
|
|
62 |
title = "FoodVision 🍕🥙"
|
63 |
description = "A Simple Deep Learning Application which is trained on EfficientNetB2 Fine Tuned computer vision model to classify food images of [101 different types](https://huggingface.co/spaces/Hexii/FoodVision/blob/main/class_names.txt)."
|
64 |
article = "Created by Ansari Abu Huzaifa , Learned at [ZTM Academy](https://www.learnpytorch.io/)"
|
65 |
-
FOOTER = '<img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.glitch.me/badge?page_id=gradio-blocks />'
|
66 |
# Create examples list from "examples/" directory
|
67 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
68 |
|
@@ -81,9 +80,6 @@ app = gr.Interface(
|
|
81 |
footer=FOOTER
|
82 |
)
|
83 |
|
84 |
-
with gr.Blocks(theme="huggingface", css='style.css') as demo:
|
85 |
-
with gr.Box():
|
86 |
-
gr.Markdown(FOOTER)
|
87 |
|
88 |
# launch the App
|
89 |
app.launch()
|
|
|
62 |
title = "FoodVision 🍕🥙"
|
63 |
description = "A Simple Deep Learning Application which is trained on EfficientNetB2 Fine Tuned computer vision model to classify food images of [101 different types](https://huggingface.co/spaces/Hexii/FoodVision/blob/main/class_names.txt)."
|
64 |
article = "Created by Ansari Abu Huzaifa , Learned at [ZTM Academy](https://www.learnpytorch.io/)"
|
|
|
65 |
# Create examples list from "examples/" directory
|
66 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
67 |
|
|
|
80 |
footer=FOOTER
|
81 |
)
|
82 |
|
|
|
|
|
|
|
83 |
|
84 |
# launch the App
|
85 |
app.launch()
|