Campfireman commited on
Commit
c3fc79b
·
1 Parent(s): 4413467

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -28,13 +28,14 @@ def greet(total_pred_days):
28
  print("get the fv")
29
 
30
  # The latest available data timestamp
31
- start_time = 1670972400000
 
32
 
33
  #start_date = datetime.now() - timedelta(days=1)
34
  #start_time = int(start_date.timestamp()) * 1000
35
 
36
  print("starttime")
37
- X = feature_view.get_batch_data(start_time=start_time)
38
  print("endtime")
39
  latest_date_unix = str(X.datetime.values[0])[:10]
40
  latest_date = time.ctime(int(latest_date_unix))
 
28
  print("get the fv")
29
 
30
  # The latest available data timestamp
31
+ start_time = 1635112800000
32
+ end_time = 1670972400000
33
 
34
  #start_date = datetime.now() - timedelta(days=1)
35
  #start_time = int(start_date.timestamp()) * 1000
36
 
37
  print("starttime")
38
+ X = feature_view.get_batch_data(start_time=start_time, end_time=end_time)
39
  print("endtime")
40
  latest_date_unix = str(X.datetime.values[0])[:10]
41
  latest_date = time.ctime(int(latest_date_unix))