kaiozwald commited on
Commit
a20234d
·
1 Parent(s): 6a67cd2
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -110,4 +110,7 @@ def generate_report(req: ReportRequest):
110
 
111
  @app.get("/download/{filename}")
112
  def download_file(filename: str):
113
- return FileResponse(path=filename, filename=filename, media_type='application/vnd.openxmlformats-officedocument.wordprocessingml.document')
 
 
 
 
110
 
111
  @app.get("/download/{filename}")
112
  def download_file(filename: str):
113
+ return FileResponse(path=filename, filename=filename, media_type='application/vnd.openxmlformats-officedocument.wordprocessingml.document')
114
+ @app.get("/")
115
+ def root():
116
+ return {"status": "Running"}