richardorama commited on
Commit
85c2bc8
β€’
1 Parent(s): 4426139

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,6 +70,6 @@ def summarize(txt):
70
 
71
  # Create a button and trigger the summarize function when clicked
72
  if st.sidebar.button('Summarize Sentiment'):
73
- summarize(SENTIMENT)
74
  else:
75
  st.warning('πŸ‘ˆ Please enter Sentiment!')
 
70
 
71
  # Create a button and trigger the summarize function when clicked
72
  if st.sidebar.button('Summarize Sentiment'):
73
+ summarize(ast.literal_eval(SENTIMENT)) #convert string to actual list
74
  else:
75
  st.warning('πŸ‘ˆ Please enter Sentiment!')