Commit
·
9db3282
1
Parent(s):
9289cd1
Update app.py
Browse files
app.py
CHANGED
@@ -46,6 +46,7 @@ example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
46 |
# Gradio interface
|
47 |
title = "Weather image classification ⛅❄☔"
|
48 |
description = "Classifies the weather from an image, able to recognize 12 types of weather."
|
|
|
49 |
|
50 |
demo = gr.Interface(fn=predict,
|
51 |
inputs=gr.Image(type="pil"),
|
@@ -53,7 +54,8 @@ demo = gr.Interface(fn=predict,
|
|
53 |
gr.Number(label="Prediction time (s)")],
|
54 |
examples=example_list,
|
55 |
title=title,
|
56 |
-
description=description
|
|
|
57 |
|
58 |
|
59 |
demo.launch(debug=False,
|
|
|
46 |
# Gradio interface
|
47 |
title = "Weather image classification ⛅❄☔"
|
48 |
description = "Classifies the weather from an image, able to recognize 12 types of weather."
|
49 |
+
article = "See the code on [GitHub](https://github.com/georgescutelnicu/Weather-Image-Classification)."
|
50 |
|
51 |
demo = gr.Interface(fn=predict,
|
52 |
inputs=gr.Image(type="pil"),
|
|
|
54 |
gr.Number(label="Prediction time (s)")],
|
55 |
examples=example_list,
|
56 |
title=title,
|
57 |
+
description=description,
|
58 |
+
article=article)
|
59 |
|
60 |
|
61 |
demo.launch(debug=False,
|