abhisheky127 commited on
Commit
53d25df
β€’
1 Parent(s): a6d6e02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ if st.button('Summarize'):
37
  text = "<product>{}</product><type>{}</type><text>{}</text>".format(product, type, text)
38
 
39
  res = summarizer(text)[0]["summary_text"]
40
- res = post_process(res, text)
41
  st.info(res, icon="πŸ€–")
42
  else:
43
  st.write('I think something is missing, please check your inputs!')
 
37
  text = "<product>{}</product><type>{}</type><text>{}</text>".format(product, type, text)
38
 
39
  res = summarizer(text)[0]["summary_text"]
40
+ res = postprocess(res, text)
41
  st.info(res, icon="πŸ€–")
42
  else:
43
  st.write('I think something is missing, please check your inputs!')