Ziyou Li commited on
Commit
c0e0496
·
1 Parent(s): 90b378c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -59,8 +59,7 @@ model = joblib.load(cached_download(
59
  ))
60
 
61
  def infer(input_dataframe):
62
- print(input_dataframe["referenceTime"])
63
- input_dataframe["referenceTime"] = input_dataframe["referenceTime"].to_timestamp()
64
  return pd.DataFrame(model.predict(input_dataframe)).clip(0, 1)
65
 
66
  title = "Stoclholm Highway E4 Real Time Traffic Prediction"
 
59
  ))
60
 
61
  def infer(input_dataframe):
62
+ input_dataframe["referenceTime"] = input_dataframe["referenceTime"].timestamp()
 
63
  return pd.DataFrame(model.predict(input_dataframe)).clip(0, 1)
64
 
65
  title = "Stoclholm Highway E4 Real Time Traffic Prediction"