nakas commited on
Commit
b1e8f80
1 Parent(s): ddc431c

Update Main.py

Browse files
Files changed (1) hide show
  1. Main.py +1 -13
Main.py CHANGED
@@ -34,19 +34,7 @@ def app():
34
 
35
  print(topmove)
36
  # Create a list of lists, where each inner list contains the UCI strings for a single move
37
- uci_lists = [d['pv'][:2] for d in info]
38
-
39
- # Initialize the output string
40
- output_string = ""
41
-
42
- # Iterate over the list of UCI lists and create the output string
43
- for i, uci_list in enumerate(uci_lists, start=1):
44
- output_string += f"{i}. "
45
- output_string += " ".join([uci.uci for uci in uci_list])
46
- output_string += "\n"
47
-
48
- print(output_string)
49
-
50
  stringprompt = 'Based on the chess board position at this fen string ' + fenstring + 'can you give an in depth analysis as to why ' + topmove + ' is the best move to play based on Material, Development, Center-control, King-safety and Pawn-structures if relevant. Also describe any tactics or ideas that we should be thinking about'
51
 
52
 
 
34
 
35
  print(topmove)
36
  # Create a list of lists, where each inner list contains the UCI strings for a single move
37
+
 
 
 
 
 
 
 
 
 
 
 
 
38
  stringprompt = 'Based on the chess board position at this fen string ' + fenstring + 'can you give an in depth analysis as to why ' + topmove + ' is the best move to play based on Material, Development, Center-control, King-safety and Pawn-structures if relevant. Also describe any tactics or ideas that we should be thinking about'
39
 
40