yassTrad commited on
Commit
da063ef
·
1 Parent(s): dc7e03d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ summarize = st.button("Summarize")
91
 
92
  if summarize:
93
  #text_to_summarize = preprocess_text(clean_text) if is_url else preprocess_text(plain_text)
94
- text_to_summarize = preprocess_text(clean_text) if is_url else preprocess_text(plain_text)
95
 
96
 
97
  with st.spinner(text="Loading Model and creating summary. This might take a few seconds depending on the length of your text..."):
 
91
 
92
  if summarize:
93
  #text_to_summarize = preprocess_text(clean_text) if is_url else preprocess_text(plain_text)
94
+ text_to_summarize = clean_text if is_url else plain_text
95
 
96
 
97
  with st.spinner(text="Loading Model and creating summary. This might take a few seconds depending on the length of your text..."):