halme commited on
Commit
2c35d30
·
verified ·
1 Parent(s): 61c2569

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def predict(stock_name):
53
  # Fetch the data used to train the model
54
  time_period_news = "30d"
55
  time_period_price = "3mo" # Needed to make sure we get 30 days of price data. Stock markets are closed on weekends and holidays
56
- data_loader = DataLoader(ticker, time_period_news, time_period_price)
57
  data = data_loader.get_data()
58
 
59
  # Get the previous closing price
 
53
  # Fetch the data used to train the model
54
  time_period_news = "30d"
55
  time_period_price = "3mo" # Needed to make sure we get 30 days of price data. Stock markets are closed on weekends and holidays
56
+ data_loader = InferenceDataPipeline(ticker, time_period_news, time_period_price)
57
  data = data_loader.get_data()
58
 
59
  # Get the previous closing price