Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,10 @@ import shutil
|
|
12 |
|
13 |
app = FastAPI()
|
14 |
|
|
|
|
|
|
|
|
|
15 |
@app.get("/health")
|
16 |
async def health_check():
|
17 |
return {"status": "healthy"}
|
|
|
12 |
|
13 |
app = FastAPI()
|
14 |
|
15 |
+
@app.get("/")
|
16 |
+
async def read_root():
|
17 |
+
return {"message": "Welcome to the FastAPI application!"}
|
18 |
+
|
19 |
@app.get("/health")
|
20 |
async def health_check():
|
21 |
return {"status": "healthy"}
|