ShubhamRasal commited on
Commit
b380efa
·
verified ·
1 Parent(s): a4bac9c

Upload folder using huggingface_hub

Browse files
client.py CHANGED
@@ -16,7 +16,7 @@ from .models import MyAction, MyObservation
16
 
17
 
18
  class MyEnv(
19
- EnvClient[MyAction, MyObservation]
20
  ):
21
  """
22
  Client for the My Env Environment.
 
16
 
17
 
18
  class MyEnv(
19
+ EnvClient[MyAction, MyObservation, State]
20
  ):
21
  """
22
  Client for the My Env Environment.
openenv_my_env.egg-info/SOURCES.txt CHANGED
@@ -1,4 +1,7 @@
1
  README.md
 
 
 
2
  pyproject.toml
3
  ./__init__.py
4
  ./client.py
 
1
  README.md
2
+ __init__.py
3
+ client.py
4
+ models.py
5
  pyproject.toml
6
  ./__init__.py
7
  ./client.py
server/app.py CHANGED
@@ -35,8 +35,7 @@ except Exception as e: # pragma: no cover
35
  "openenv is required for the web interface. Install dependencies with '\n uv sync\n'"
36
  ) from e
37
 
38
- # Import from local models.py (PYTHONPATH includes /app/env in Docker)
39
- from models import MyAction, MyObservation
40
  from .my_env_environment import MyEnvironment
41
 
42
 
 
35
  "openenv is required for the web interface. Install dependencies with '\n uv sync\n'"
36
  ) from e
37
 
38
+ from ..models import MyAction, MyObservation
 
39
  from .my_env_environment import MyEnvironment
40
 
41
 
server/my_env_environment.py CHANGED
@@ -16,7 +16,7 @@ from uuid import uuid4
16
  from openenv.core.env_server.interfaces import Environment
17
  from openenv.core.env_server.types import State
18
 
19
- from models import MyAction, MyObservation
20
 
21
 
22
  class MyEnvironment(Environment):
 
16
  from openenv.core.env_server.interfaces import Environment
17
  from openenv.core.env_server.types import State
18
 
19
+ from ..models import MyAction, MyObservation
20
 
21
 
22
  class MyEnvironment(Environment):