amoldwalunj commited on
Commit
67e7a47
·
1 Parent(s): f8ded6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -52,7 +52,9 @@ def process_text(inputs):
52
  import base64
53
  from io import BytesIO
54
  from weasyprint import HTML
55
- from streamlit_quill import Delta, Renderer
 
 
56
 
57
  def save_as_pdf(text):
58
  # convert quill editor Delta object to HTML and render with Renderer
 
52
  import base64
53
  from io import BytesIO
54
  from weasyprint import HTML
55
+ #from streamlit_quill import Delta, Renderer
56
+ from quill.delta import Delta
57
+
58
 
59
  def save_as_pdf(text):
60
  # convert quill editor Delta object to HTML and render with Renderer