Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ random_player = None
|
|
| 9 |
player_thread = None
|
| 10 |
|
| 11 |
from poke_env import Player, ServerConfiguration
|
| 12 |
-
custom_config = ServerConfiguration("
|
| 13 |
# Function to start the random player in a separate thread
|
| 14 |
def start_random_player():
|
| 15 |
loop = asyncio.new_event_loop()
|
|
|
|
| 9 |
player_thread = None
|
| 10 |
|
| 11 |
from poke_env import Player, ServerConfiguration
|
| 12 |
+
custom_config = ServerConfiguration("wss://jofthomas.com/showdown/websocket", "authentication-endpoint.com/action.php?")
|
| 13 |
# Function to start the random player in a separate thread
|
| 14 |
def start_random_player():
|
| 15 |
loop = asyncio.new_event_loop()
|