Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,6 +45,10 @@ app.add_middleware(
|
|
45 |
allow_headers=["*"],
|
46 |
)
|
47 |
|
|
|
|
|
|
|
|
|
48 |
# Health check endpoint
|
49 |
@app.get("/health")
|
50 |
async def health_check():
|
|
|
45 |
allow_headers=["*"],
|
46 |
)
|
47 |
|
48 |
+
@app.get("/")
|
49 |
+
def myfunc():
|
50 |
+
return {"status":"running"}
|
51 |
+
|
52 |
# Health check endpoint
|
53 |
@app.get("/health")
|
54 |
async def health_check():
|