Spaces:
Sleeping
Sleeping
burtenshaw
commited on
Commit
·
9567311
1
Parent(s):
aa7b820
return to non package install
Browse files- server/RLVE_Gym_environment.py +5 -5
- server/app.py +2 -2
server/RLVE_Gym_environment.py
CHANGED
|
@@ -13,11 +13,11 @@ import random
|
|
| 13 |
|
| 14 |
from openenv_core.env_server.interfaces import Environment
|
| 15 |
|
| 16 |
-
from
|
| 17 |
-
from
|
| 18 |
-
from
|
| 19 |
-
from
|
| 20 |
-
from
|
| 21 |
|
| 22 |
|
| 23 |
class RlveGymEnvironment(Environment):
|
|
|
|
| 13 |
|
| 14 |
from openenv_core.env_server.interfaces import Environment
|
| 15 |
|
| 16 |
+
from models import RlveGymState, RlveGymAction, RlveGymObservation
|
| 17 |
+
from server.Gym.environment import VerifiableEnvironment
|
| 18 |
+
from server.Gym.parameter_controller import ParameterController
|
| 19 |
+
from server.Gym.environments import identifier2environment
|
| 20 |
+
from server.Gym.parameter_controllers import identifier2controller
|
| 21 |
|
| 22 |
|
| 23 |
class RlveGymEnvironment(Environment):
|
server/app.py
CHANGED
|
@@ -26,8 +26,8 @@ try:
|
|
| 26 |
except Exception as e: # pragma: no cover
|
| 27 |
raise ImportError("openenv_core is required for the web interface. Install dependencies with '\n uv sync\n'") from e
|
| 28 |
|
| 29 |
-
from
|
| 30 |
-
from
|
| 31 |
|
| 32 |
# Create the environment instance
|
| 33 |
env = RlveGymEnvironment()
|
|
|
|
| 26 |
except Exception as e: # pragma: no cover
|
| 27 |
raise ImportError("openenv_core is required for the web interface. Install dependencies with '\n uv sync\n'") from e
|
| 28 |
|
| 29 |
+
from server.RLVE_Gym_environment import RlveGymEnvironment
|
| 30 |
+
from models import RlveGymAction, RlveGymObservation
|
| 31 |
|
| 32 |
# Create the environment instance
|
| 33 |
env = RlveGymEnvironment()
|