Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -176,7 +176,7 @@ def create_pdf_from_markdown_strings(markdown_strings):
|
|
| 176 |
|
| 177 |
return combined_html
|
| 178 |
|
| 179 |
-
def generate_pdf(
|
| 180 |
pdf = BytesIO()
|
| 181 |
HTML(string=html_string).write_pdf(pdf)
|
| 182 |
pdf.seek(0)
|
|
|
|
| 176 |
|
| 177 |
return combined_html
|
| 178 |
|
| 179 |
+
def generate_pdf(html_string):
|
| 180 |
pdf = BytesIO()
|
| 181 |
HTML(string=html_string).write_pdf(pdf)
|
| 182 |
pdf.seek(0)
|