Khelendramee commited on
Commit
ecda3ba
·
verified ·
1 Parent(s): 7381e15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -77,8 +77,8 @@ def get_market_minutes():
77
  return now_minutes - open_minutes
78
 
79
  # TRAIN MODEL
80
- @app.get('/model/train/{symbol}/{predict_steps}')
81
- def train(symbol: str, predict_steps: int):
82
  time_step = 60
83
  training_period = '5d'
84
  epochs = 10
 
77
  return now_minutes - open_minutes
78
 
79
  # TRAIN MODEL
80
+ @app.get('/model/train/{symbol}/{p_step}')
81
+ def train(symbol: str, p_step: int):
82
  time_step = 60
83
  training_period = '5d'
84
  epochs = 10