Spaces:
Runtime error
Runtime error
masa729406
commited on
Commit
ยท
80b056c
1
Parent(s):
4fe001a
Update app.py
Browse files
app.py
CHANGED
@@ -199,13 +199,13 @@ linear_regression = LinearRegression()
|
|
199 |
model = linear_regression.fit(X,y)
|
200 |
|
201 |
d_today = datetime.date.today()
|
202 |
-
d_tom = datetime.date.today() + datetime.timedelta(days = 1)
|
203 |
-
d_y = datetime.date.today() + datetime.timedelta(days = -
|
204 |
|
205 |
# ๅๆฅใฎใใใใผใฟๆฝๅบ
|
206 |
if __name__ == "__main__":
|
207 |
start_date = d_y
|
208 |
-
end_date =
|
209 |
df_aji_pre = get_fish_price_data(start_date=start_date, end_date=end_date)
|
210 |
df_aji_pre['date'] = df_aji_pre['date'].astype(int)
|
211 |
|
|
|
199 |
model = linear_regression.fit(X,y)
|
200 |
|
201 |
d_today = datetime.date.today()
|
202 |
+
d_tom = datetime.date.today() + datetime.timedelta(days = -1)
|
203 |
+
d_y = datetime.date.today() + datetime.timedelta(days = -2)
|
204 |
|
205 |
# ๅๆฅใฎใใใใผใฟๆฝๅบ
|
206 |
if __name__ == "__main__":
|
207 |
start_date = d_y
|
208 |
+
end_date = d_tom
|
209 |
df_aji_pre = get_fish_price_data(start_date=start_date, end_date=end_date)
|
210 |
df_aji_pre['date'] = df_aji_pre['date'].astype(int)
|
211 |
|