Update server/app.py
Browse files- server/app.py +1 -2
server/app.py
CHANGED
|
@@ -86,8 +86,7 @@ def step(action: dict):
|
|
| 86 |
@app.get("/state")
|
| 87 |
def state():
|
| 88 |
print("[STATE] Requested")
|
| 89 |
-
|
| 90 |
-
return s.__dict__
|
| 91 |
|
| 92 |
# ----------------------------------------------------------------------
|
| 93 |
# Main entry point (for local testing)
|
|
|
|
| 86 |
@app.get("/state")
|
| 87 |
def state():
|
| 88 |
print("[STATE] Requested")
|
| 89 |
+
return env._get_observation().__dict__
|
|
|
|
| 90 |
|
| 91 |
# ----------------------------------------------------------------------
|
| 92 |
# Main entry point (for local testing)
|