Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,8 @@ import base64
|
|
| 12 |
import plotly.express as px
|
| 13 |
from datetime import datetime
|
| 14 |
|
|
|
|
|
|
|
| 15 |
st.sidebar.title("Stock Option")
|
| 16 |
# Custom CSS to change the sidebar color
|
| 17 |
sidebar_css = """
|
|
@@ -23,10 +25,10 @@ sidebar_css = """
|
|
| 23 |
</style>
|
| 24 |
"""
|
| 25 |
|
| 26 |
-
user_input = st.sidebar.text_input("Select a Stock", "
|
| 27 |
|
| 28 |
-
start_date = st.sidebar.date_input("Select start date:", datetime(
|
| 29 |
-
end_date = st.sidebar.date_input("Select end date:", datetime(
|
| 30 |
|
| 31 |
st.title("IN-Depth Analysis")
|
| 32 |
|
|
|
|
| 12 |
import plotly.express as px
|
| 13 |
from datetime import datetime
|
| 14 |
|
| 15 |
+
st.set_page_config(page_title='Stocks Analysis', layout='wide', page_icon=':rocket:')
|
| 16 |
+
|
| 17 |
st.sidebar.title("Stock Option")
|
| 18 |
# Custom CSS to change the sidebar color
|
| 19 |
sidebar_css = """
|
|
|
|
| 25 |
</style>
|
| 26 |
"""
|
| 27 |
|
| 28 |
+
user_input = st.sidebar.text_input("Select a Stock", "TSLA")
|
| 29 |
|
| 30 |
+
start_date = st.sidebar.date_input("Select start date:", datetime(2024, 1, 1))
|
| 31 |
+
end_date = st.sidebar.date_input("Select end date:", datetime(2024, 3, 1))
|
| 32 |
|
| 33 |
st.title("IN-Depth Analysis")
|
| 34 |
|