Spaces:
Sleeping
Sleeping
| # 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/models.py`.""" | |
| from __future__ import annotations | |
| import os | |
| import sys | |
| _ROOT = 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.models import EchoAction, EchoObservation # noqa: E402 | |
| __all__ = ["EchoAction", "EchoObservation"] | |