yassTrad commited on
Commit
dc7e03d
1 Parent(s): 6b6d74f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -90,7 +90,9 @@ if is_url:
90
  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
 
95
  with st.spinner(text="Loading Model and creating summary. This might take a few seconds depending on the length of your text..."):
96
  model = model()
 
90
  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..."):
98
  model = model()