tilos commited on
Commit
5e1bac5
·
1 Parent(s): 039eddf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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