atsuga commited on
Commit
96ba1cc
·
verified ·
1 Parent(s): 45308fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -75,9 +75,10 @@ def predict_7_days(sell_features, buy_features, linear_model, scaler):
75
  predictions_df = pd.DataFrame(
76
  predictions,
77
  columns=['sell', 'buy'],
78
- index=pd.date_range(start=pd.Timestamp.tomorrow(), periods=7)
79
  )
80
 
 
81
  # Harga terakhir
82
  last_price = [sell_features[0], buy_features[0]]
83
 
 
75
  predictions_df = pd.DataFrame(
76
  predictions,
77
  columns=['sell', 'buy'],
78
+ index=pd.date_range(start=pd.Timestamp.today() + pd.Timedelta(days=1), periods=7)
79
  )
80
 
81
+
82
  # Harga terakhir
83
  last_price = [sell_features[0], buy_features[0]]
84