Spaces:
Runtime error
Runtime error
Download env/test_env.py from Bytecore1/ai-deception-openenv: direct link, hf CLI and curl.
- Browser
- Download file 212 Bytes
-
https://huggingface.co/spaces/Bytecore1/ai-deception-openenv/resolve/main/env/test_env.py
- Command line
-
hf download hf://spaces/Bytecore1/ai-deception-openenv/env/test_env.py
-
curl -L -o test_env.py https://huggingface.co/spaces/Bytecore1/ai-deception-openenv/resolve/main/env/test_env.py
212 Bytes
| from env import DeceptionEnv | |
| env = DeceptionEnv() | |
| state = env.reset() | |
| print("Initial State:", state) | |
| state, reward, done, _ = env.step("deploy_honeypot") | |
| print("After step:", state) | |
| print("Reward:", reward) | |