Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,9 +60,7 @@ model = joblib.load(cached_download(
|
|
60 |
|
61 |
def infer(input_dataframe):
|
62 |
serie = input_dataframe["referenceTime"]
|
63 |
-
|
64 |
-
ts = serie.timestamp()
|
65 |
-
print(ts)
|
66 |
input_dataframe["referenceTime"] = ts
|
67 |
return pd.DataFrame(model.predict(input_dataframe)).clip(0, 1)
|
68 |
|
|
|
60 |
|
61 |
def infer(input_dataframe):
|
62 |
serie = input_dataframe["referenceTime"]
|
63 |
+
ts = dp.parse(serie).timestamp()
|
|
|
|
|
64 |
input_dataframe["referenceTime"] = ts
|
65 |
return pd.DataFrame(model.predict(input_dataframe)).clip(0, 1)
|
66 |
|