amoldwalunj commited on
Commit
ce299fd
·
1 Parent(s): 3be3778

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -57,13 +57,10 @@ def process_text(inputs):
57
 
58
  import base64
59
  from io import BytesIO
60
- #from streamlit_quill import Delta
61
- #from streamlit_quill import Renderer
62
- #from streamlit_quill import st_quill
63
- from weasyprint import HTML
64
-
65
  from quill.delta import Delta, Renderer
66
 
 
 
67
  def save_as_pdf(text):
68
  # convert quill editor Delta object to HTML and render with Renderer
69
  delta = Delta(text)
@@ -81,7 +78,6 @@ def save_as_pdf(text):
81
  st.markdown(href, unsafe_allow_html=True)
82
 
83
 
84
-
85
  def form_page():
86
 
87
  st.markdown("### Your custom obituary writer :pencil:")
 
57
 
58
  import base64
59
  from io import BytesIO
 
 
 
 
 
60
  from quill.delta import Delta, Renderer
61
 
62
+ from weasyprint import HTML
63
+
64
  def save_as_pdf(text):
65
  # convert quill editor Delta object to HTML and render with Renderer
66
  delta = Delta(text)
 
78
  st.markdown(href, unsafe_allow_html=True)
79
 
80
 
 
81
  def form_page():
82
 
83
  st.markdown("### Your custom obituary writer :pencil:")