viskav commited on
Commit
f40d5a9
·
verified ·
1 Parent(s): 442962e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -56,6 +56,17 @@ app = FastAPI(
56
  version="1.0",
57
  lifespan=lifespan
58
  )
 
 
 
 
 
 
 
 
 
 
 
59
 
60
  # ==================================================
61
  # DUMMY AUTH VERIFY (Frontend Fix)
 
56
  version="1.0",
57
  lifespan=lifespan
58
  )
59
+ @app.get("/")
60
+ def root():
61
+ return {
62
+ "status": "ok",
63
+ "message": "AI Humanizer backend is running",
64
+ "endpoints": {
65
+ "humanize": "POST /humanize",
66
+ "auth": "GET /api/auth/verify",
67
+ "docs": "/docs"
68
+ }
69
+ }
70
 
71
  # ==================================================
72
  # DUMMY AUTH VERIFY (Frontend Fix)