QuantumLearner commited on
Commit
55bb90f
·
verified ·
1 Parent(s): b17f26a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -16,7 +16,10 @@ st.title('Daily News with Sentiment Analysis')
16
  # Streamlit App
17
  #st.title('Daily News with Sentiment Analysis')
18
 
19
- st.write("""
 
 
 
20
  ### How to Use This App
21
  1. **Enter Stock Ticker**: Type the stock ticker symbol (e.g., 'AAPL' for Apple Inc.) in the sidebar.
22
  2. **Get News**: Click the 'Get News' button to fetch the latest news articles related to the entered stock ticker.
@@ -24,9 +27,7 @@ st.write("""
24
  4. **Sort Data**: Feel free to sort data by any column as needed.
25
  5. **Download Data**: Optionally, you can download the news data with sentiment analysis as a CSV file.
26
  """)
27
-
28
- # Sidebar inputs
29
- st.sidebar.header('Input Parameters')
30
  ticker = st.sidebar.text_input('Enter Stock Ticker', 'AAPL')
31
 
32
  def get_finviz_news_raw(ticker):
 
16
  # Streamlit App
17
  #st.title('Daily News with Sentiment Analysis')
18
 
19
+ # Sidebar inputs
20
+ st.sidebar.title('Input Parameters')
21
+
22
+ st.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.
 
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')
32
 
33
  def get_finviz_news_raw(ticker):