Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,5 +55,5 @@ async def generate_pdf(text: str = Form(...)):
|
|
| 55 |
pdf_output.write(pdf_string.encode('latin-1'))
|
| 56 |
pdf_output.seek(0)
|
| 57 |
|
| 58 |
-
|
| 59 |
return Response(content=pdf_output.getvalue(), media_type="application/pdf", headers={"Content-Disposition": "attachment; filename=edited_file.pdf"})
|
|
|
|
| 55 |
pdf_output.write(pdf_string.encode('latin-1'))
|
| 56 |
pdf_output.seek(0)
|
| 57 |
|
| 58 |
+
|
| 59 |
return Response(content=pdf_output.getvalue(), media_type="application/pdf", headers={"Content-Disposition": "attachment; filename=edited_file.pdf"})
|