Hammad712 commited on
Commit
4e795bb
·
verified ·
1 Parent(s): d714b61

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +6 -0
main.py CHANGED
@@ -64,3 +64,9 @@ async def upload_file(file: UploadFile = File(...)):
64
 
65
  # Return the file as a downloadable response.
66
  return FileResponse(temp_md.name, filename="output.md", media_type="text/markdown")
 
 
 
 
 
 
 
64
 
65
  # Return the file as a downloadable response.
66
  return FileResponse(temp_md.name, filename="output.md", media_type="text/markdown")
67
+
68
+ # --- API Endpoints ---
69
+ @app.get("/", summary="Health Check")
70
+ async def root():
71
+ return {"message": "API is up and running."}
72
+