richardorama commited on
Commit
ed1e71a
β€’
1 Parent(s): e0fdb1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,6 +80,6 @@ if st.sidebar.button('Summarize Sentiment'):
80
  #ast.literal_eval() is a function in Python that safely evaluates a string containing a valid Python expression,
81
  #such as lists, dictionaries, tuples, sets, integers, and floats. It parses the string and returns the corresponding
82
  #Python object, without executing any arbitrary code, which makes it safer than using eval().
83
- summarize(txt)
84
  else:
85
  st.warning('πŸ‘ˆ Please enter Sentiment!')
 
80
  #ast.literal_eval() is a function in Python that safely evaluates a string containing a valid Python expression,
81
  #such as lists, dictionaries, tuples, sets, integers, and floats. It parses the string and returns the corresponding
82
  #Python object, without executing any arbitrary code, which makes it safer than using eval().
83
+ summarize(SENTIMENT)
84
  else:
85
  st.warning('πŸ‘ˆ Please enter Sentiment!')