WillWEI0103 commited on
Commit
8ce80de
Β·
verified Β·
1 Parent(s): 419e174

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,12 +8,12 @@ def sentiment(summary):
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
 
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