Spaces:
Runtime error
Runtime error
Campfireman
commited on
Commit
·
784a9c4
1
Parent(s):
a93ae92
Update app.py
Browse files
app.py
CHANGED
@@ -28,14 +28,14 @@ def greet(total_pred_days):
|
|
28 |
print("get the fv")
|
29 |
|
30 |
# The latest available data timestamp
|
31 |
-
|
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)
|
38 |
-
|
39 |
latest_date_unix = str(X.datetime.values[0])[:10]
|
40 |
latest_date = time.ctime(int(latest_date_unix))
|
41 |
print("latest_date")
|
|
|
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 |
+
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))
|
41 |
print("latest_date")
|