Gladiator commited on
Commit
c4cc22e
1 Parent(s): f10368a

add input text seeing func

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -16,6 +16,8 @@ if __name__ == "__main__":
16
  # init model
17
  model = Summarizer()
18
  summarize = st.button("Summarize")
 
 
19
  if summarize:
20
  st.subheader("Summarized text")
21
  summarized_text = model(inp_text, num_sentences=5)
 
16
  # init model
17
  model = Summarizer()
18
  summarize = st.button("Summarize")
19
+ with st.expander("See the input text"):
20
+ st.write(inp_text)
21
  if summarize:
22
  st.subheader("Summarized text")
23
  summarized_text = model(inp_text, num_sentences=5)