Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1060,11 +1060,11 @@ Or set the path manually in the code."""
|
|
| 1060 |
try:
|
| 1061 |
stockfish = Stockfish(
|
| 1062 |
path=stockfish_path,
|
| 1063 |
-
depth=
|
| 1064 |
parameters={
|
| 1065 |
"Threads": 2,
|
| 1066 |
-
"Minimum Thinking Time":
|
| 1067 |
-
"Hash":
|
| 1068 |
}
|
| 1069 |
)
|
| 1070 |
except Exception as e:
|
|
|
|
| 1060 |
try:
|
| 1061 |
stockfish = Stockfish(
|
| 1062 |
path=stockfish_path,
|
| 1063 |
+
depth=35, # Analysis depth (higher = stronger but slower)
|
| 1064 |
parameters={
|
| 1065 |
"Threads": 2,
|
| 1066 |
+
"Minimum Thinking Time": 5000, # milliseconds
|
| 1067 |
+
"Hash": 1024, # MB of RAM
|
| 1068 |
}
|
| 1069 |
)
|
| 1070 |
except Exception as e:
|