Skip to content

Commit

Permalink
to pb4
Browse files Browse the repository at this point in the history
  • Loading branch information
xinpw8 committed Mar 28, 2024
1 parent 9d1b8aa commit 51375cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pufferlib/environments/pokemon_red/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os

# Ensure the directory of the correct environment.py is in sys.path
correct_path = '/bet_adsorption_xinpw8/back2bulba/pokegym/pokegym'
correct_path = '/bet_adsorption_xinpw8/back2bulba2/pokegym/pokegym'
if correct_path not in sys.path:
sys.path.insert(0, correct_path)

Expand All @@ -31,7 +31,7 @@ def env_creator(name="pokemon_red"):
def make(name, **kwargs,):
"""Pokemon Red"""
env = Environment(kwargs)
env = StreamWrapper(env, stream_metadata={"user": "PUFFERBOX3 |BET|\npokegym\n"})
env = StreamWrapper(env, stream_metadata={"user": "PUFFERBOX5 |BET|\npokegym\n"})
# Looks like the following will optionally create the object for you
# Or use the one you pass it. I'll just construct it here.
return pufferlib.emulation.GymnasiumPufferEnv(
Expand Down

0 comments on commit 51375cd

Please sign in to comment.