Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,8 @@ with gr.Blocks() as demo:
|
|
106 |
btn_ref.click(get_row, inputs = None, outputs = inputs)
|
107 |
|
108 |
#example_row = ["2023-01-01 15:00:00", 4.5, 6.6, 0, 0, 40, 1]
|
109 |
-
|
|
|
110 |
"temperature": 4.5,
|
111 |
"wind speed": 6.6,
|
112 |
"precipation last hour": 0,
|
|
|
106 |
btn_ref.click(get_row, inputs = None, outputs = inputs)
|
107 |
|
108 |
#example_row = ["2023-01-01 15:00:00", 4.5, 6.6, 0, 0, 40, 1]
|
109 |
+
ref_ex = datetime.fromtimestamp(1672585200)
|
110 |
+
example_row ={"referenceTime": ref_ex,
|
111 |
"temperature": 4.5,
|
112 |
"wind speed": 6.6,
|
113 |
"precipation last hour": 0,
|