Soooma commited on
Commit
b743bc7
·
1 Parent(s): 6e2fb41

output formatting

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,6 +18,6 @@ if text:
18
  decoded_output = tokenizer.batch_decode(output, skip_special_tokens=True)[0]
19
  predicted_title = nltk.sent_tokenize(decoded_output.strip())[0]
20
 
21
- html_string = f"<h3>Predicted title :{predicted_title}</h3>"
22
 
23
  st.markdown(html_string, unsafe_allow_html=True)
 
18
  decoded_output = tokenizer.batch_decode(output, skip_special_tokens=True)[0]
19
  predicted_title = nltk.sent_tokenize(decoded_output.strip())[0]
20
 
21
+ html_string = f"<h3>The predicted title is:\'{predicted_title}\'</h3>"
22
 
23
  st.markdown(html_string, unsafe_allow_html=True)