dibend commited on
Commit
f2567ce
1 Parent(s): 1c9bac5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ from sklearn.linear_model import LinearRegression
5
  import plotly.graph_objects as go
6
 
7
  def train_predict_wrapper(ticker, start_date, end_date, prediction_days):
8
- # Download stock data
9
  data = yf.download(ticker, start=start_date, end=end_date)
10
  data = data["Close"]
11
 
@@ -47,7 +47,7 @@ def train_predict_wrapper(ticker, start_date, end_date, prediction_days):
47
  fig.add_trace(historical_prices)
48
  fig.add_trace(predicted_prices_trace)
49
  fig.update_layout(
50
- title="Stock Price Prediction",
51
  xaxis_title="Date",
52
  yaxis_title="Price",
53
  legend_title_text="Data"
 
5
  import plotly.graph_objects as go
6
 
7
  def train_predict_wrapper(ticker, start_date, end_date, prediction_days):
8
+ # Download asset data
9
  data = yf.download(ticker, start=start_date, end=end_date)
10
  data = data["Close"]
11
 
 
47
  fig.add_trace(historical_prices)
48
  fig.add_trace(predicted_prices_trace)
49
  fig.update_layout(
50
+ title="Asset Price Prediction",
51
  xaxis_title="Date",
52
  yaxis_title="Price",
53
  legend_title_text="Data"