Update main.py
Browse files
main.py
CHANGED
|
@@ -1,14 +1,12 @@
|
|
| 1 |
-
# main.py
|
| 2 |
from fastapi import FastAPI
|
| 3 |
from app.api.endpoints import plans
|
| 4 |
|
| 5 |
app = FastAPI(
|
| 6 |
title="KhelVerse Training Planner API",
|
| 7 |
description="API for generating, revising and restarting athlete training plans using Gemini.",
|
| 8 |
-
version="
|
| 9 |
)
|
| 10 |
|
| 11 |
-
# Include the router from the plans endpoint file
|
| 12 |
app.include_router(plans.router, prefix="/api/v1/plans", tags=["Training Plans"])
|
| 13 |
|
| 14 |
@app.get("/", tags=["Root"])
|
|
|
|
|
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
from app.api.endpoints import plans
|
| 3 |
|
| 4 |
app = FastAPI(
|
| 5 |
title="KhelVerse Training Planner API",
|
| 6 |
description="API for generating, revising and restarting athlete training plans using Gemini.",
|
| 7 |
+
version="2.0.0" # Final Version!
|
| 8 |
)
|
| 9 |
|
|
|
|
| 10 |
app.include_router(plans.router, prefix="/api/v1/plans", tags=["Training Plans"])
|
| 11 |
|
| 12 |
@app.get("/", tags=["Root"])
|