Spaces:
Sleeping
Sleeping
Update env.py
Browse files
env.py
CHANGED
|
@@ -3,6 +3,7 @@ from typing import Optional
|
|
| 3 |
from types import SimpleNamespace
|
| 4 |
from openenv.core.env_server import Environment
|
| 5 |
from models import MyEnvV4Observation, MyEnvV4Action
|
|
|
|
| 6 |
|
| 7 |
class MyEnvV4Env(Environment):
|
| 8 |
def __init__(self):
|
|
@@ -80,7 +81,7 @@ class MyEnvV4Env(Environment):
|
|
| 80 |
"""Simulated helper for local/containerized runs."""
|
| 81 |
return cls()
|
| 82 |
|
| 83 |
-
|
| 84 |
|
| 85 |
# 1. Create your environment instance
|
| 86 |
my_env = MyEnvV4Env()
|
|
|
|
| 3 |
from types import SimpleNamespace
|
| 4 |
from openenv.core.env_server import Environment
|
| 5 |
from models import MyEnvV4Observation, MyEnvV4Action
|
| 6 |
+
from openenv.core.env_server import EnvServer
|
| 7 |
|
| 8 |
class MyEnvV4Env(Environment):
|
| 9 |
def __init__(self):
|
|
|
|
| 81 |
"""Simulated helper for local/containerized runs."""
|
| 82 |
return cls()
|
| 83 |
|
| 84 |
+
|
| 85 |
|
| 86 |
# 1. Create your environment instance
|
| 87 |
my_env = MyEnvV4Env()
|