QuantumLearner commited on
Commit
bfcc007
·
verified ·
1 Parent(s): ebebfe3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -20,12 +20,11 @@ st.title('Daily News with Sentiment Analysis')
20
  st.sidebar.title('Input Parameters')
21
 
22
  st.sidebar.markdown("""
23
- ### How to Use This App
24
- 1. **Enter Stock Ticker**: Type the stock ticker symbol (e.g., 'AAPL' for Apple Inc.) in the sidebar.
25
- 2. **Get News**: Click the 'Get News' button to fetch the latest news articles related to the entered stock ticker.
26
- 3. **View News and Sentiment**: The app will display the news articles along with sentiment scores. Sentiment scores range from -1 (very negative) to 1 (very positive).
27
- 4. **Sort Data**: Feel free to sort data by any column as needed.
28
- 5. **Download Data**: Optionally, you can download the news data with sentiment analysis as a CSV file.
29
  """)
30
 
31
  ticker = st.sidebar.text_input('Enter Stock Ticker', 'AAPL')
 
20
  st.sidebar.title('Input Parameters')
21
 
22
  st.sidebar.markdown("""
23
+ ### How to Use
24
+ 1. **Enter Ticker**: Type the stock symbol (e.g., 'AAPL').
25
+ 2. **Fetch News**: Click 'Get News' for the latest articles.
26
+ 3. **View Sentiment**: See articles with sentiment scores (-1 to 1).
27
+ 4. **Sort & Download**: Sort data and download as CSV if needed.
 
28
  """)
29
 
30
  ticker = st.sidebar.text_input('Enter Stock Ticker', 'AAPL')