Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,9 @@ from src import stock_data, model_train, train_test_split, model_predict
|
|
| 6 |
st.image('images.jpg', caption='Image credit : Kelly Sikkema')
|
| 7 |
# Function to display result, history, and data information
|
| 8 |
def display_results(user_input,result, data_inf, train):
|
| 9 |
-
st.subheader(f'Data for {user_input.upper()} the past 10 days.')
|
| 10 |
st.write(data_inf)
|
| 11 |
-
st.subheader(f'Annual data line Chart :blue[
|
| 12 |
plot = sns.lineplot(train)
|
| 13 |
st.pyplot(plot.get_figure())
|
| 14 |
future_date = datetime.now() + timedelta(days=1)
|
|
|
|
| 6 |
st.image('images.jpg', caption='Image credit : Kelly Sikkema')
|
| 7 |
# Function to display result, history, and data information
|
| 8 |
def display_results(user_input,result, data_inf, train):
|
| 9 |
+
st.subheader(f'Data for :blue[{user_input.upper()}] the past 10 days.')
|
| 10 |
st.write(data_inf)
|
| 11 |
+
st.subheader(f'Annual data line Chart :blue[{user_input.upper()}]')
|
| 12 |
plot = sns.lineplot(train)
|
| 13 |
st.pyplot(plot.get_figure())
|
| 14 |
future_date = datetime.now() + timedelta(days=1)
|