Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,13 +16,13 @@ st.title('Daily News with Sentiment Analysis')
|
|
| 16 |
# Sidebar inputs
|
| 17 |
st.sidebar.title('Input Parameters')
|
| 18 |
|
| 19 |
-
st.sidebar.
|
| 20 |
-
|
| 21 |
-
1. **Enter Ticker**: Type the stock symbol (e.g., 'AAPL').
|
| 22 |
-
2. **Fetch News**: Click 'Get News' for the latest articles.
|
| 23 |
-
3. **View Sentiment**: See articles with sentiment scores (-1 to 1).
|
| 24 |
-
4. **Sort & Download**: Download as CSV if needed.
|
| 25 |
-
""")
|
| 26 |
|
| 27 |
# Wrapping the stock ticker input in an expander
|
| 28 |
with st.sidebar.expander("Stock Ticker Input", expanded=True):
|
|
|
|
| 16 |
# Sidebar inputs
|
| 17 |
st.sidebar.title('Input Parameters')
|
| 18 |
|
| 19 |
+
with st.sidebar.expander("How to use:", expanded=True):
|
| 20 |
+
st.markdown("""
|
| 21 |
+
1. **Enter Ticker**: Type the stock symbol (e.g., 'AAPL').
|
| 22 |
+
2. **Fetch News**: Click 'Get News' for the latest articles.
|
| 23 |
+
3. **View Sentiment**: See articles with sentiment scores (-1 to 1).
|
| 24 |
+
4. **Sort & Download**: Download as CSV if needed.
|
| 25 |
+
""")
|
| 26 |
|
| 27 |
# Wrapping the stock ticker input in an expander
|
| 28 |
with st.sidebar.expander("Stock Ticker Input", expanded=True):
|