Campfireman commited on
Commit
7a3f3c4
1 Parent(s): bf94357

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -44,14 +44,12 @@ def greet(name):
44
 
45
  next_day_date = datetime.today() + timedelta(days=1)
46
  next_day = next_day_date.strftime ('%d/%m/%Y')
47
- # df = pd.DataFrame(data=preds[0], columns=[f"AQI Predictions for {next_day}"], dtype=int)
48
  str1 = ""
49
- # return int(preds[0])
50
 
51
 
52
  for x in range(8):
53
  if(x != 0):
54
- str1 += (datetime.now() + timedelta(days=x)).strftime('%Y-%m-%d') + " predicted temperature: " + str(int(preds[len(preds) - 8 + x]))+"\n"
55
 
56
  print(str1)
57
  return str1
 
44
 
45
  next_day_date = datetime.today() + timedelta(days=1)
46
  next_day = next_day_date.strftime ('%d/%m/%Y')
 
47
  str1 = ""
 
48
 
49
 
50
  for x in range(8):
51
  if(x != 0):
52
+ str1 += (datetime.now() + timedelta(days=x)).strftime('%Y-%m-%d') + " predicted temperature: " + preds+"\n"
53
 
54
  print(str1)
55
  return str1