Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
src/envs/echo_env/client.py
CHANGED
|
@@ -99,3 +99,9 @@ class EchoEnv(HTTPEnvClient[EchoAction, EchoObservation]):
|
|
| 99 |
episode_id=payload.get("episode_id"),
|
| 100 |
step_count=payload.get("step_count", 0),
|
| 101 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
episode_id=payload.get("episode_id"),
|
| 100 |
step_count=payload.get("step_count", 0),
|
| 101 |
)
|
| 102 |
+
|
| 103 |
+
@classmethod
|
| 104 |
+
def from_hub(cls, space_id: str, **kwargs: Any) -> "EchoEnv":
|
| 105 |
+
"""Launch the Space from Hugging Face Hub and return an `EchoEnv` client."""
|
| 106 |
+
|
| 107 |
+
return super().from_hub(space_id, **kwargs)
|