Update pages/news_analysis.py
Browse files- pages/news_analysis.py +3 -3
pages/news_analysis.py
CHANGED
|
@@ -41,7 +41,7 @@ def deepseek_news_analysis(news_text):
|
|
| 41 |
|
| 42 |
# β
Streamlit UI for Chat-Based News Analysis
|
| 43 |
st.set_page_config(page_title="AI-Powered Market News", layout="wide")
|
| 44 |
-
st.title("π°
|
| 45 |
|
| 46 |
# π News Search by Stock Symbol
|
| 47 |
stock_input = st.text_input("Enter Stock Symbol (e.g., AAPL, TSLA, MSFT)", value="AAPL")
|
|
@@ -64,7 +64,7 @@ if st.button("Fetch News"):
|
|
| 64 |
st.success("β
News & Analysis Updated!")
|
| 65 |
|
| 66 |
# π Chat-Based News Discussion
|
| 67 |
-
st.subheader("π¬
|
| 68 |
if "messages" not in st.session_state:
|
| 69 |
st.session_state["messages"] = []
|
| 70 |
|
|
@@ -72,7 +72,7 @@ for msg in st.session_state["messages"]:
|
|
| 72 |
with st.chat_message(msg["role"]):
|
| 73 |
st.markdown(msg["content"])
|
| 74 |
|
| 75 |
-
prompt = st.chat_input("Ask
|
| 76 |
if prompt:
|
| 77 |
with st.chat_message("user"):
|
| 78 |
st.markdown(prompt)
|
|
|
|
| 41 |
|
| 42 |
# β
Streamlit UI for Chat-Based News Analysis
|
| 43 |
st.set_page_config(page_title="AI-Powered Market News", layout="wide")
|
| 44 |
+
st.title("π° Astarait Counsel")
|
| 45 |
|
| 46 |
# π News Search by Stock Symbol
|
| 47 |
stock_input = st.text_input("Enter Stock Symbol (e.g., AAPL, TSLA, MSFT)", value="AAPL")
|
|
|
|
| 64 |
st.success("β
News & Analysis Updated!")
|
| 65 |
|
| 66 |
# π Chat-Based News Discussion
|
| 67 |
+
st.subheader("π¬ Stock Clairvoyance")
|
| 68 |
if "messages" not in st.session_state:
|
| 69 |
st.session_state["messages"] = []
|
| 70 |
|
|
|
|
| 72 |
with st.chat_message(msg["role"]):
|
| 73 |
st.markdown(msg["content"])
|
| 74 |
|
| 75 |
+
prompt = st.chat_input("Ask the Dagon God...")
|
| 76 |
if prompt:
|
| 77 |
with st.chat_message("user"):
|
| 78 |
st.markdown(prompt)
|