Spaces:
Sleeping
Sleeping
pratikshahp
commited on
Commit
•
6dbee19
1
Parent(s):
06cf6ab
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
|
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!"
|
151 |
hint = llm(prompt)
|
152 |
return hint
|
153 |
|