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