Lahiru Menikdiwela commited on
Commit
a35c887
·
1 Parent(s): 3de5f10

formatter to display output

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -330,7 +330,8 @@ def display_output(summarized_text,time):
330
  logger.info(f"SUMMARY: {summarized_text}")
331
  logger.info(f"Summary took {time}s")
332
  st.subheader("Summarized text")
333
- st.info(f"{summarized_text}")
 
334
  # st.info(f"Time: {time}s")
335
  st.text(f"Time taken: {time}s")
336
 
 
330
  logger.info(f"SUMMARY: {summarized_text}")
331
  logger.info(f"Summary took {time}s")
332
  st.subheader("Summarized text")
333
+ formatted_text = summarized_text.replace("$", "\$")
334
+ st.info(f"{formatted_text}")
335
  # st.info(f"Time: {time}s")
336
  st.text(f"Time taken: {time}s")
337