Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -35,7 +35,10 @@ async def update_user_guide_data():
|
|
| 35 |
user_guide_sync.update_user_guide()
|
| 36 |
return "guide updated"
|
| 37 |
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
index = None
|
| 41 |
|
|
|
|
| 35 |
user_guide_sync.update_user_guide()
|
| 36 |
return "guide updated"
|
| 37 |
|
| 38 |
+
@app.get("/time")
|
| 39 |
+
async def section5():
|
| 40 |
+
time.sleep(5)
|
| 41 |
+
return {"message": "This is Section executed"}
|
| 42 |
|
| 43 |
index = None
|
| 44 |
|