Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,7 @@ def main():
|
|
13 |
dicts={"bullish":'Positive📈',"bearish":'Negative📉','neutral':"Neutral😐"}
|
14 |
st.header("Summarize Your Finance News and Analyze Sentiment📰")
|
15 |
text=st.text_input('Input your Finance news(Max lenth<=3000): ',None,max_chars=3000)
|
16 |
-
|
17 |
-
if st.button('Conduct'):
|
18 |
st.text_area('Your Finance News: ',text,height=100)
|
19 |
|
20 |
#Stage 1: Text Summarization
|
|
|
13 |
dicts={"bullish":'Positive📈',"bearish":'Negative📉','neutral':"Neutral😐"}
|
14 |
st.header("Summarize Your Finance News and Analyze Sentiment📰")
|
15 |
text=st.text_input('Input your Finance news(Max lenth<=3000): ',None,max_chars=3000)
|
16 |
+
if text is not None:
|
|
|
17 |
st.text_area('Your Finance News: ',text,height=100)
|
18 |
|
19 |
#Stage 1: Text Summarization
|