Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -64,5 +64,5 @@ async def startup_event():
|
|
64 |
asyncio.create_task(your_continuous_function())
|
65 |
|
66 |
@app.get("/test_api")
|
67 |
-
def test_api():
|
68 |
return "kpi_result"
|
|
|
64 |
asyncio.create_task(your_continuous_function())
|
65 |
|
66 |
@app.get("/test_api")
|
67 |
+
async def test_api():
|
68 |
return "kpi_result"
|