JoanParanoid commited on
Commit
81f177f
·
verified ·
1 Parent(s): 2b68ed4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -9,15 +9,15 @@ def analyze_financial_news():
9
  classification = pipeline("text-classification", model="nickmuchi/finbert-tone-finetuned-finance-topic-classification", token=access+token)
10
  sentiment_analysis = pipeline("sentiment-analysis")
11
 
12
- st.set_page_config(page_title="Financial News Analysis", page_icon="♕")
13
 
14
  # Streamlit application layout
15
- st.title("Financial News Analysis")
16
- st.write("Analyze corresponding Topic and Trend for Financial News!")
17
  st.image("./Fin.jpg", use_column_width=True)
18
 
19
  # Text input for user to enter the text
20
- text = st.text_area("Enter the Financial News", "")
21
 
22
  analyze_clicked = st.button("Analyze")
23
 
 
9
  classification = pipeline("text-classification", model="nickmuchi/finbert-tone-finetuned-finance-topic-classification", token=access+token)
10
  sentiment_analysis = pipeline("sentiment-analysis")
11
 
12
+ st.set_page_config(page_title="Energy/Oil-Related Financial News Sentiment Analysis", page_icon="♕")
13
 
14
  # Streamlit application layout
15
+ st.title("Energy/Oil-Related Financial News Sentiment Analysis")
16
+ st.write("Conduct Sentiment Analysis for Energy/Oil-Related Financial News to Find Out the Trend In Energy/Oil Industry and Make Wise Decisions!")
17
  st.image("./Fin.jpg", use_column_width=True)
18
 
19
  # Text input for user to enter the text
20
+ text = st.text_area("Enter the Financial News Content", "")
21
 
22
  analyze_clicked = st.button("Analyze")
23