Commit
·
1a6bad0
1
Parent(s):
dff563f
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
### 1. Imports and class names setup ###
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
import torch
|
@@ -45,7 +44,7 @@ def predict(img):
|
|
45 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
46 |
|
47 |
# Gradio interface
|
48 |
-
title = "Weather image
|
49 |
description = "Classifies the weather from an image, able to recognize 12 types of weather."
|
50 |
|
51 |
demo = gr.Interface(fn=predict,
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
import torch
|
|
|
44 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
45 |
|
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,
|