Spaces:
Runtime error
Runtime error
Ziyou Li
commited on
Commit
·
1071eb4
1
Parent(s):
9ea796e
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def get_row():
|
|
38 |
vis = json_response_smhi["timeSeries"][0]["parameters"][9]["values"][0] # Visibility
|
39 |
|
40 |
# Use current time
|
41 |
-
referenceTime = time.time()
|
42 |
|
43 |
row ={"referenceTime": referenceTime,
|
44 |
"temperature": t,
|
|
|
38 |
vis = json_response_smhi["timeSeries"][0]["parameters"][9]["values"][0] # Visibility
|
39 |
|
40 |
# Use current time
|
41 |
+
referenceTime = str(Timestamp(time.time()))
|
42 |
|
43 |
row ={"referenceTime": referenceTime,
|
44 |
"temperature": t,
|