abhisheky127
commited on
Commit
β’
53d25df
1
Parent(s):
a6d6e02
Update app.py
Browse files
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 =
|
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!')
|