init
This commit is contained in:
13
backend/python-ai/app/main.py
Normal file
13
backend/python-ai/app/main.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
|
||||
app = FastAPI(title="K12Study Python AI", version="0.1.0")
|
||||
|
||||
|
||||
@app.get("/health")
|
||||
def health():
|
||||
return {
|
||||
"name": "python-ai",
|
||||
"status": "UP",
|
||||
"version": "0.1.0",
|
||||
}
|
||||
Reference in New Issue
Block a user