QuantumLearner commited on
Commit
306e37a
·
verified ·
1 Parent(s): adec47d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -7,6 +7,7 @@ import plotly.graph_objs as go
7
  import warnings
8
  import pandas as pd
9
 
 
10
  # Function to fetch stock or crypto data
11
  def fetch_data(ticker_name, start_date, end_date):
12
  raw_data = yf.download(ticker_name, start=start_date, end=end_date)
@@ -137,6 +138,18 @@ if st.sidebar.button('Run Analysis'):
137
  - The second plot displays the Wasserstein distances over time, with the threshold indicated by a dashed red line. Peaks above this line represent significant changes in price dynamics.
138
  """)
139
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  # Hide the default Streamlit menu and footer
141
  hide_streamlit_style = """
142
  <style>
 
7
  import warnings
8
  import pandas as pd
9
 
10
+
11
  # Function to fetch stock or crypto data
12
  def fetch_data(ticker_name, start_date, end_date):
13
  raw_data = yf.download(ticker_name, start=start_date, end=end_date)
 
138
  - The second plot displays the Wasserstein distances over time, with the threshold indicated by a dashed red line. Peaks above this line represent significant changes in price dynamics.
139
  """)
140
 
141
+ st.markdown(
142
+ """
143
+ <style>
144
+ /* Adjust the width of the sidebar */
145
+ [data-testid="stSidebar"] {
146
+ width: 500px; /* Change this value to set the width you want */
147
+ }
148
+ </style>
149
+ """,
150
+ unsafe_allow_html=True
151
+ )
152
+
153
  # Hide the default Streamlit menu and footer
154
  hide_streamlit_style = """
155
  <style>