Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -8,6 +8,10 @@ import requests
|
|
| 8 |
|
| 9 |
app = FastAPI()
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
# CORS Configuration
|
| 12 |
app.add_middleware(
|
| 13 |
CORSMiddleware,
|
|
|
|
| 8 |
|
| 9 |
app = FastAPI()
|
| 10 |
|
| 11 |
+
@app.get("/")
|
| 12 |
+
async def health_check():
|
| 13 |
+
return {"status": "online", "service": "pdf-analyzer"}
|
| 14 |
+
|
| 15 |
# CORS Configuration
|
| 16 |
app.add_middleware(
|
| 17 |
CORSMiddleware,
|