Spaces:
Runtime error
Runtime error
minor change
Browse files
app.py
CHANGED
@@ -21,6 +21,6 @@ if text:
|
|
21 |
decoded_output = tokenizer.batch_decode(output, skip_special_tokens=True)[0]
|
22 |
predicted_title = nltk.sent_tokenize(decoded_output.strip())[0]
|
23 |
|
24 |
-
html_string = f"<
|
25 |
|
26 |
st.markdown(html_string, unsafe_allow_html=True)
|
|
|
21 |
decoded_output = tokenizer.batch_decode(output, skip_special_tokens=True)[0]
|
22 |
predicted_title = nltk.sent_tokenize(decoded_output.strip())[0]
|
23 |
|
24 |
+
html_string = f"<h4>The predicted title is:</h4> \'{predicted_title}\'"
|
25 |
|
26 |
st.markdown(html_string, unsafe_allow_html=True)
|