Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,8 +98,8 @@ current_date = pd.to_datetime('2021-08-12')
|
|
| 98 |
market_analysis, news_analysis, final_recs, chat = st.tabs(["Market Analysis", "News Analysis", "GenAI Recommendations","Ask AI Advisor"])
|
| 99 |
|
| 100 |
with market_analysis:
|
| 101 |
-
st.header("Market Analysis")
|
| 102 |
-
st.write("This module provides market analysis for the following day based on the current date.")
|
| 103 |
date_container = st.container(border=False)
|
| 104 |
# main_container.write(f"Date: {date}")
|
| 105 |
|
|
@@ -266,8 +266,8 @@ with market_analysis:
|
|
| 266 |
""", unsafe_allow_html=True)
|
| 267 |
|
| 268 |
with news_analysis:
|
| 269 |
-
st.header("News Analysis")
|
| 270 |
-
st.write("This module provides news based event impact for the following day based on the current date.")
|
| 271 |
|
| 272 |
# Load data
|
| 273 |
data_file_path = r"Events_SameDay.csv" # Update this with your file path
|
|
@@ -633,11 +633,15 @@ with news_analysis:
|
|
| 633 |
|
| 634 |
|
| 635 |
with final_recs:
|
| 636 |
-
|
| 637 |
-
st.write("""This module provides trading recommendation for the following day based on the current date.
|
| 638 |
For demo purpose this is restricted to test data from (Aug 12, 2021- Aug 31,2021).
|
| 639 |
The results shown here are based on our model's inference on this test data, which is available in the Colab Notebook provided along GitHub submission.
|
| 640 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 641 |
|
| 642 |
|
| 643 |
recs = pd.read_csv("test_recom.csv")
|
|
|
|
| 98 |
market_analysis, news_analysis, final_recs, chat = st.tabs(["Market Analysis", "News Analysis", "GenAI Recommendations","Ask AI Advisor"])
|
| 99 |
|
| 100 |
with market_analysis:
|
| 101 |
+
st.header("Market Analysis", help = "This module provides market analysis for the following day based on the current date.")
|
| 102 |
+
# st.write("This module provides market analysis for the following day based on the current date.")
|
| 103 |
date_container = st.container(border=False)
|
| 104 |
# main_container.write(f"Date: {date}")
|
| 105 |
|
|
|
|
| 266 |
""", unsafe_allow_html=True)
|
| 267 |
|
| 268 |
with news_analysis:
|
| 269 |
+
st.header("News Analysis", help="This module provides news based event impact for the following day based on the current date.")
|
| 270 |
+
# st.write("This module provides news based event impact for the following day based on the current date.")
|
| 271 |
|
| 272 |
# Load data
|
| 273 |
data_file_path = r"Events_SameDay.csv" # Update this with your file path
|
|
|
|
| 633 |
|
| 634 |
|
| 635 |
with final_recs:
|
| 636 |
+
help = """This module provides trading recommendation for the following day based on the current date.
|
|
|
|
| 637 |
For demo purpose this is restricted to test data from (Aug 12, 2021- Aug 31,2021).
|
| 638 |
The results shown here are based on our model's inference on this test data, which is available in the Colab Notebook provided along GitHub submission.
|
| 639 |
+
"""
|
| 640 |
+
st.header("GenAI Recommendations", help=help)
|
| 641 |
+
# st.write("""This module provides trading recommendation for the following day based on the current date.
|
| 642 |
+
# For demo purpose this is restricted to test data from (Aug 12, 2021- Aug 31,2021).
|
| 643 |
+
# The results shown here are based on our model's inference on this test data, which is available in the Colab Notebook provided along GitHub submission.
|
| 644 |
+
# """)
|
| 645 |
|
| 646 |
|
| 647 |
recs = pd.read_csv("test_recom.csv")
|