Spaces:
Sleeping
Sleeping
Commit
Β·
d75c2a5
1
Parent(s):
888843a
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def predict(img):
|
|
50 |
# Create title, description strings
|
51 |
title = "FoodVision ππ₯©π£"
|
52 |
description = "An EfficientNetB2 fine tuning computer vision model to classify 101 different types of foods. For food list. [Click here](https://github.com/Rajatsingh24/FoodVision/raw/main/class_names.txt)."
|
53 |
-
|
54 |
|
55 |
# Create the Gradio demo
|
56 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
@@ -60,7 +60,7 @@ demo = gr.Interface(fn=predict, # mapping function from input to output
|
|
60 |
# our fn has two outputs, therefore we have two outputs
|
61 |
examples=example_list,
|
62 |
title=title,
|
63 |
-
description=description)
|
64 |
-
|
65 |
|
66 |
demo.launch(debug=False) # print errors locally?
|
|
|
50 |
# Create title, description strings
|
51 |
title = "FoodVision ππ₯©π£"
|
52 |
description = "An EfficientNetB2 fine tuning computer vision model to classify 101 different types of foods. For food list. [Click here](https://github.com/Rajatsingh24/FoodVision/raw/main/class_names.txt)."
|
53 |
+
article = "Gmail : [email protected] | [GitHub Link](https://github.com/Rajatsingh24/FoodVision)"
|
54 |
|
55 |
# Create the Gradio demo
|
56 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
|
|
60 |
# our fn has two outputs, therefore we have two outputs
|
61 |
examples=example_list,
|
62 |
title=title,
|
63 |
+
description=description),
|
64 |
+
article=article)
|
65 |
|
66 |
demo.launch(debug=False) # print errors locally?
|