Spaces:
Sleeping
Sleeping
Download server/echo_environment.py from NITISHRG15102007/DIALECTICA: direct link, hf CLI and curl.
- Browser
- Download file 633 Bytes
-
https://huggingface.co/spaces/NITISHRG15102007/DIALECTICA/resolve/main/server/echo_environment.py
- Command line
-
hf download hf://spaces/NITISHRG15102007/DIALECTICA/server/echo_environment.py
-
curl -L -o echo_environment.py https://huggingface.co/spaces/NITISHRG15102007/DIALECTICA/resolve/main/server/echo_environment.py
633 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. | |
| """Backward-compatible shim; real code lives in `src/echo_env/server/echo_environment.py`.""" | |
| from __future__ import annotations | |
| import os | |
| import sys | |
| _ROOT = os.path.dirname(os.path.dirname(__file__)) | |
| _SRC = os.path.join(_ROOT, "src") | |
| if os.path.isdir(_SRC) and _SRC not in sys.path: | |
| sys.path.insert(0, _SRC) | |
| from echo_env.server.echo_environment import EchoEnvironment # noqa: E402 | |
| __all__ = ["EchoEnvironment"] | |