We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09ad324 commit 67eec2cCopy full SHA for 67eec2c
examples/textarena_simple.py
@@ -24,7 +24,14 @@ def main() -> None:
24
print("💬 TextArena Hello World - GuessTheNumber-v0")
25
print("=" * 60)
26
27
- env = TextArenaEnv("https://huggingface.co/spaces/burtenshaw/textarena")
+ env = TextArenaEnv.from_docker_image(
28
+ "textarena-env:latest",
29
+ env_vars={
30
+ "TEXTARENA_ENV_ID": "GuessTheNumber-v0",
31
+ "TEXTARENA_NUM_PLAYERS": "1",
32
+ },
33
+ ports={8000: 8000},
34
+ )
35
36
try:
37
print("\n📍 Resetting environment...")
0 commit comments