norhan12 commited on
Commit
25a9469
·
verified ·
1 Parent(s): 45d9add

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ async def get_json_file(filename: str):
109
  raise HTTPException(status_code=404, detail="JSON file not found")
110
  return FileResponse(file_path, media_type="application/json", filename=filename)
111
 
112
- norhan shalaby, [6/12/2025 7:24 AM]
113
  @app.get("/outputs/pdf/{filename}")
114
  async def get_pdf_file(filename: str):
115
  file_path = os.path.join(PDF_DIR, filename)
 
109
  raise HTTPException(status_code=404, detail="JSON file not found")
110
  return FileResponse(file_path, media_type="application/json", filename=filename)
111
 
112
+
113
  @app.get("/outputs/pdf/{filename}")
114
  async def get_pdf_file(filename: str):
115
  file_path = os.path.join(PDF_DIR, filename)