WillWEI0103 commited on
Commit
8cc737f
·
verified ·
1 Parent(s): 368216e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ 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
- if text is not None:
17
-
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
+ if st.botton('Conduct'):
18
  st.text_area('Your Finance News: ',text,height=100)
19
 
20
  #Stage 1: Text Summarization