Kovila commited on
Commit
dbc10ec
·
1 Parent(s): 830c56a

sentiment analysis

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -8,7 +8,12 @@ import torch
8
  import pandas as pd
9
  import streamlit as st
10
 
11
-
 
 
 
 
 
12
  # load API key
13
  # get API Keys
14
  #with open('secrets.toml', 'r') as f:
@@ -79,14 +84,8 @@ def get_news_sentiment(news):
79
 
80
  # APP
81
 
82
- st.set_page_config(
83
- page_title="Financial News Headlines Summarization and Sentiment",
84
- page_icon="$",
85
- layout="wide",
86
- initial_sidebar_state="expanded",
87
- )
88
-
89
  st.title('Financial News Headlines Summarization and Sentiment')
 
90
  col1, col2 = st.columns(2)
91
 
92
  with col1:
 
8
  import pandas as pd
9
  import streamlit as st
10
 
11
+ st.set_page_config(
12
+ page_title="Financial News Headlines Summarization and Sentiment",
13
+ page_icon="$",
14
+ layout="wide",
15
+ initial_sidebar_state="expanded",
16
+ )
17
  # load API key
18
  # get API Keys
19
  #with open('secrets.toml', 'r') as f:
 
84
 
85
  # APP
86
 
 
 
 
 
 
 
 
87
  st.title('Financial News Headlines Summarization and Sentiment')
88
+
89
  col1, col2 = st.columns(2)
90
 
91
  with col1: