Spaces:
Sleeping
Sleeping
Commit
·
8d15210
1
Parent(s):
15408a8
Update prompt
Browse files
app.py
CHANGED
@@ -78,12 +78,15 @@ squares: List[str] = [" " for i in range(9)]
|
|
78 |
def aiPlayer(squares: List[str]) -> int:
|
79 |
print("AI's turn")
|
80 |
prompt = f""""
|
|
|
|
|
81 |
The board is:
|
82 |
|
83 |
{aiBoardTemplate.format(*squares)}
|
84 |
|
85 |
It's your turn. Enter the number of the square you want to place your 'O' in.
|
86 |
-
Only enter the number of the square. For example, if you want to place your 'O' in the top right square,
|
|
|
87 |
"""
|
88 |
|
89 |
client = Client("ysharma/Chat_with_Meta_llama3_8b")
|
|
|
78 |
def aiPlayer(squares: List[str]) -> int:
|
79 |
print("AI's turn")
|
80 |
prompt = f""""
|
81 |
+
# Tic Tac Toe
|
82 |
+
|
83 |
The board is:
|
84 |
|
85 |
{aiBoardTemplate.format(*squares)}
|
86 |
|
87 |
It's your turn. Enter the number of the square you want to place your 'O' in.
|
88 |
+
Only enter the number of the square. For example, if you want to place your 'O' in the top right square,
|
89 |
+
no any text or spaces, just enter 2.
|
90 |
"""
|
91 |
|
92 |
client = Client("ysharma/Chat_with_Meta_llama3_8b")
|