WillWEI0103
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -8,12 +8,12 @@ def sentiment(summary):
|
|
8 |
|
9 |
|
10 |
def main():
|
11 |
-
dicts={"bullish":'Positive',"bearish":'Negative','neutral':"Neutral"}
|
12 |
-
|
13 |
st.header("Summarize Your Finance News and Analyze Sentiment")
|
14 |
text=st.text_input('Input your Finance news(Max lenth<=3000): ',max_chars=3000)
|
15 |
if isinstance(text,str):
|
16 |
-
st.text('Your Finance news
|
17 |
st.write(str(text))
|
18 |
|
19 |
#Stage 1: Text Summarization
|
|
|
8 |
|
9 |
|
10 |
def main():
|
11 |
+
dicts={"bullish":'Positiveπ',"bearish":'Negativeπ','neutral':"Neutralπ"}
|
12 |
+
st.set_page_config(page_title="Your Finance news", page_icon="π°")
|
13 |
st.header("Summarize Your Finance News and Analyze Sentiment")
|
14 |
text=st.text_input('Input your Finance news(Max lenth<=3000): ',max_chars=3000)
|
15 |
if isinstance(text,str):
|
16 |
+
st.text('Your Finance news: ')
|
17 |
st.write(str(text))
|
18 |
|
19 |
#Stage 1: Text Summarization
|