sqfoo commited on
Commit
ae151a4
·
verified ·
1 Parent(s): 5df679b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def start_game():
85
 
86
  def play_turn(human_response, loc, player, cur, custom_token, request: gr.Request):
87
  """Executes a single turn of the game loop based on user input."""
88
- status = initial_player.get_attribute()
89
  if not human_response.strip():
90
  return (
91
  "Please type an action to proceed!",
 
85
 
86
  def play_turn(human_response, loc, player, cur, custom_token, request: gr.Request):
87
  """Executes a single turn of the game loop based on user input."""
88
+ status = player.get_attribute()
89
  if not human_response.strip():
90
  return (
91
  "Please type an action to proceed!",