Campfireman commited on
Commit
cdfafc6
1 Parent(s): f2e2963

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -35,8 +35,10 @@ def greet(total_pred_days):
35
 
36
 
37
  X = feature_view.get_batch_data(start_time=start_time)
 
38
  latest_date_unix = str(X.datetime.values[0])[:10]
39
  latest_date = time.ctime(int(latest_date_unix))
 
40
  model = get_model("temp_model", version=2)
41
  model_dir =model.download()
42
  model =joblib.load(model_dir+"/temp_model.pkl")
 
35
 
36
 
37
  X = feature_view.get_batch_data(start_time=start_time)
38
+
39
  latest_date_unix = str(X.datetime.values[0])[:10]
40
  latest_date = time.ctime(int(latest_date_unix))
41
+ print(latest_date)
42
  model = get_model("temp_model", version=2)
43
  model_dir =model.download()
44
  model =joblib.load(model_dir+"/temp_model.pkl")