req file
Browse files
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"}
|