Spaces:
Sleeping
Sleeping
pratikshahp
commited on
Commit
•
be31d68
1
Parent(s):
6dbee19
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ def handle_move(board, current_player, button_idx, difficulty, game_status):
|
|
147 |
|
148 |
# Generate a hint using LLM
|
149 |
def get_hint_from_llm(board):
|
150 |
-
prompt = f"The current Tic-Tac-Toe board state is {board}. Suggest the best move for Player X only. provide the appropriate possition to maximize the chances of wins
|
151 |
hint = llm(prompt)
|
152 |
return hint
|
153 |
|
|
|
147 |
|
148 |
# Generate a hint using LLM
|
149 |
def get_hint_from_llm(board):
|
150 |
+
prompt = f"The current Tic-Tac-Toe board state is {board}. Suggest the best move for Player X only. provide the appropriate possition to maximize the chances of wins!. Please do not provid ethe same hint like [1,1] is the best possition to win."
|
151 |
hint = llm(prompt)
|
152 |
return hint
|
153 |
|