Spaces:
Running
Running
Commit ·
94ddaba
1
Parent(s): 386bf01
changes
Browse files- server/app.py +7 -0
server/app.py
CHANGED
|
@@ -21,6 +21,13 @@ app = create_app(
|
|
| 21 |
observation_cls=SecondBrainObservation,
|
| 22 |
)
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
@app.get("/tasks")
|
| 25 |
def list_tasks():
|
| 26 |
return {
|
|
|
|
| 21 |
observation_cls=SecondBrainObservation,
|
| 22 |
)
|
| 23 |
|
| 24 |
+
@app.get("/")
|
| 25 |
+
def home():
|
| 26 |
+
return {
|
| 27 |
+
"message": "Second Brain OpenEnv is online 🚀",
|
| 28 |
+
"task": _task,
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
@app.get("/tasks")
|
| 32 |
def list_tasks():
|
| 33 |
return {
|