Spaces:
Sleeping
Sleeping
Download __init__.py from divmodelhq/ghostexec: direct link, hf CLI and curl.
- Browser
- Download file 739 Bytes
-
https://huggingface.co/spaces/divmodelhq/ghostexec/resolve/main/__init__.py
- Command line
-
hf download hf://spaces/divmodelhq/ghostexec/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/divmodelhq/ghostexec/resolve/main/__init__.py
739 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. | |
| """Ghostexec Environment.""" | |
| from .models import GhostexecAction, GhostexecObservation | |
| # Importing ghostexec.models in notebooks should not require websocket client deps. | |
| # Keep client import optional so package imports survive OpenEnv layout differences. | |
| try: | |
| from .client import GhostexecEnv | |
| except Exception: # pragma: no cover - import-compat shim | |
| GhostexecEnv = None # type: ignore[assignment] | |
| __all__ = ["GhostexecAction", "GhostexecObservation"] | |
| if GhostexecEnv is not None: | |
| __all__.append("GhostexecEnv") | |