Spaces:
Running
Running
Update app.py
Browse files4 unmodified lines567891011126 unmodified lines192021222324254 unmodified linesimport os# Import poke-env componentsfrom poke_env.player import Player, RandomPlayer, AccountConfiguration, ShowdownServerConfiguration# Import your custom agentfrom agent import OpenAIAgent6 unmodified linesagents_initialized = False# --- Configuration ---custom_config = ShowdownServerConfiguration("wss://jofthomas.com/showdown/websocket", # WebSocket URL"https://jofthomas.com/showdown/action.php" # Authentication URL)4 unmodified lines567891011126 unmodified lines192021222324254 unmodified linesimport os# Import poke-env componentsfrom poke_env.player import Player, RandomPlayerfrom poke_env import AccountConfiguration,ServerConfiguration# Import your custom agentfrom agent import OpenAIAgent6 unmodified linesagents_initialized = False# --- Configuration ---custom_config = ServerConfiguration("wss://jofthomas.com/showdown/websocket", # WebSocket URL"https://jofthomas.com/showdown/action.php" # Authentication URL)
app.py+3-3