hardik8588 commited on
Commit
a8dc0d2
·
verified ·
1 Parent(s): d0df26e

Create main.py

Browse files
Files changed (1) hide show
  1. main.py +7 -0
main.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+
3
+ app = FastAPI()
4
+
5
+ @app.get("/health")
6
+ def health_check():
7
+ return {"status": "ok", "message": "API is running"}