Update app.py
Browse files
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(
|
| 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')
|