Download src/core/env_server/__init__.py from burtenshaw/echo-cli: direct link, hf CLI and curl.
- Browser
- Download file 979 Bytes
-
https://huggingface.co/burtenshaw/echo-cli/resolve/main/src/core/env_server/__init__.py
- Command line
-
hf download hf://burtenshaw/echo-cli/src/core/env_server/__init__.py
-
curl -L -o __init__.py https://huggingface.co/burtenshaw/echo-cli/resolve/main/src/core/env_server/__init__.py
979 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the BSD-style license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| """Core environment interfaces and types.""" | |
| from .base_transforms import CompositeTransform, NullTransform | |
| from .http_server import HTTPEnvServer, create_app, create_fastapi_app | |
| from .interfaces import Environment, Message, ModelTokenizer, Transform | |
| from .types import Action, Observation, State | |
| from .web_interface import create_web_interface_app, WebInterfaceManager | |
| __all__ = [ | |
| # Core interfaces | |
| "Environment", | |
| "Transform", | |
| "Message", | |
| "ModelTokenizer", | |
| # Types | |
| "Action", | |
| "Observation", | |
| "State", | |
| # Base transforms | |
| "CompositeTransform", | |
| "NullTransform", | |
| # HTTP Server | |
| "HTTPEnvServer", | |
| "create_app", | |
| "create_fastapi_app", | |
| # Web Interface | |
| "create_web_interface_app", | |
| "WebInterfaceManager", | |
| ] | |