Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def generate_portfolios(age, investment_size, volatility, risk_flag, selected_se
|
|
99 |
results_df_html = results_df_html.replace('<td>{}</td>'.format(ticker), '<td>{}</td>'.format(hyperlink))
|
100 |
|
101 |
# Add instructions in smaller letters
|
102 |
-
instructions_html = "<p style='font-size: medium;'>Click on each stock symbol to view more information about the company.</p>"
|
103 |
header_html = "<h2>Our future predictions</h2>"
|
104 |
small_header_html = "<h3>Portfolio Summary formulated from 2022 to the present day, leveraging the same sectors and volatility parameters you have chosen.</h3>" # Smaller header HTML
|
105 |
results_df_html = header_html + small_header_html + results_df_html + instructions_html
|
|
|
99 |
results_df_html = results_df_html.replace('<td>{}</td>'.format(ticker), '<td>{}</td>'.format(hyperlink))
|
100 |
|
101 |
# Add instructions in smaller letters
|
102 |
+
instructions_html = "<p style='font-size: medium;'>Click and open in a new window on each stock symbol to view more information about the company.</p>"
|
103 |
header_html = "<h2>Our future predictions</h2>"
|
104 |
small_header_html = "<h3>Portfolio Summary formulated from 2022 to the present day, leveraging the same sectors and volatility parameters you have chosen.</h3>" # Smaller header HTML
|
105 |
results_df_html = header_html + small_header_html + results_df_html + instructions_html
|