John Smith commited on
Commit
0e9757f
·
1 Parent(s): f6e3071

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -19,15 +19,15 @@ def image_mod(image):
19
  display = str(display_old)
20
  #display = str(yhat)
21
  #display = str(display)
22
- if display == "0":
23
  message = "Cloudy" #
24
- if display == "1":
25
  message = "Snowy" # Morning_fog_-_Flickr_-_tmoravec.jpg
26
- if display == "2":
27
  message = "Foggy" # Stuyvesant_Fish_House_25_E78_St_cloudy_jeh.jpg
28
- if display == "3":
29
  message = "Rainy" #Snow_on_Branches,_Beechview,_2020-12-17,_01.jpg
30
- if display == "4":
31
  message = "Sunny" # Daedalus_000355_171913_516869_4578_(36155269413).jpg
32
  return display
33
 
 
19
  display = str(display_old)
20
  #display = str(yhat)
21
  #display = str(display)
22
+ if display == 0:
23
  message = "Cloudy" #
24
+ if display == 1:
25
  message = "Snowy" # Morning_fog_-_Flickr_-_tmoravec.jpg
26
+ if display == 2:
27
  message = "Foggy" # Stuyvesant_Fish_House_25_E78_St_cloudy_jeh.jpg
28
+ if display == 3:
29
  message = "Rainy" #Snow_on_Branches,_Beechview,_2020-12-17,_01.jpg
30
+ if display == 4:
31
  message = "Sunny" # Daedalus_000355_171913_516869_4578_(36155269413).jpg
32
  return display
33