georgescutelnicu commited on
Commit
a0f3c9e
·
1 Parent(s): ddcb389

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -14
app.py CHANGED
@@ -41,20 +41,8 @@ def predict(img):
41
 
42
  return pred_labels_and_probs, pred_time
43
 
44
- # example_list = [["examples/" + example] for example in os.listdir("examples")]
45
- example_list = [['examples/cloudy.jpg'],
46
- ['examples/dew.jpg'],
47
- ['examples/fog.jpg'],
48
- ['examples/frost.jpg'],
49
- ['examples/hail.jpg'],
50
- ['examples/lightning.jpg'],
51
- ['examples/rain.jpg'],
52
- ['examples/rainbow.jpeg'],
53
- ['examples/shine.jpg'],
54
- ['examples/snow.jpg'],
55
- ['examples/sunrise.jpg'],
56
- ['examples/tornado.jpg']]
57
-
58
  # Gradio interface
59
  title = "Weather image classification ⛅❄☔"
60
  description = "Classifies the weather from an image, able to recognize 12 types of weather."
 
41
 
42
  return pred_labels_and_probs, pred_time
43
 
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."