Sinketji commited on
Commit
a7cb425
·
verified ·
1 Parent(s): 284b18a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- # File return karna
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"})