richardorama commited on
Commit
e0fdb1b
·
verified ·
1 Parent(s): 492c1a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ SENTIMENT = st.sidebar.text_area('Enter Sentiment', DEFAULT_SENTIMENT, height=15
57
  # Define the summarization function
58
  def summarize(txt):
59
 
60
- txt_converted = summarize(ast.literal_eval(SENTIMENT)) #convert string to actual content, e.g. list
61
  st.write(f'xxxxxxxxxx {txt_converted}')
62
 
63
  st.write('\n\n')
 
57
  # Define the summarization function
58
  def summarize(txt):
59
 
60
+ txt_converted = summarize(ast.literal_eval(txt)) #convert string to actual content, e.g. list
61
  st.write(f'xxxxxxxxxx {txt_converted}')
62
 
63
  st.write('\n\n')