Spaces:
Runtime error
Runtime error
Campfireman
commited on
Commit
·
a93ae92
1
Parent(s):
c52c6cb
Update app.py
Browse files
app.py
CHANGED
@@ -28,10 +28,10 @@ def greet(total_pred_days):
|
|
28 |
print("get the fv")
|
29 |
|
30 |
# The latest available data timestamp
|
31 |
-
start_time = 1635112800000
|
32 |
|
33 |
-
|
34 |
-
|
35 |
|
36 |
|
37 |
X = feature_view.get_batch_data(start_time=start_time)
|
|
|
28 |
print("get the fv")
|
29 |
|
30 |
# The latest available data timestamp
|
31 |
+
#start_time = 1635112800000
|
32 |
|
33 |
+
start_date = datetime.now() - timedelta(days=1)
|
34 |
+
start_time = int(start_date.timestamp()) * 1000
|
35 |
|
36 |
|
37 |
X = feature_view.get_batch_data(start_time=start_time)
|