siddharth060104 commited on
Commit
e07e067
·
verified ·
1 Parent(s): 86edd52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -262,10 +262,11 @@ def main():
262
  st.code(fen_notation)
263
 
264
  # Initialize the Stockfish engine
 
265
  stockfish = Stockfish(
266
- path="stockfish-ubuntu-x86-64-sse41-popcnt", # Replace with your Stockfish path"
267
- depth=15,
268
- parameters={"Threads": 2, "Minimum Thinking Time": 30}
269
  )
270
 
271
  # Predict the next move
 
262
  st.code(fen_notation)
263
 
264
  # Initialize the Stockfish engine
265
+ stockfish_path = os.path.join(os.getcwd(), "stockfish-ubuntu-x86-64-sse41-popcnt")
266
  stockfish = Stockfish(
267
+ path=stockfish_path,
268
+ depth=15,
269
+ parameters={"Threads": 2, "Minimum Thinking Time": 30}
270
  )
271
 
272
  # Predict the next move