Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -172,6 +172,7 @@ def transform_string(input_str):
|
|
172 |
|
173 |
# Streamlit app
|
174 |
def main():
|
|
|
175 |
st.title("Chessboard Position Detection and Move Prediction")
|
176 |
|
177 |
# User uploads an image or captures it from their camera
|
@@ -259,7 +260,7 @@ def main():
|
|
259 |
|
260 |
st.subheader("Generated FEN Notation:")
|
261 |
st.code(fen_notation)
|
262 |
-
|
263 |
# Initialize the Stockfish engine
|
264 |
stockfish = Stockfish(
|
265 |
path="stockfish-windows-x86-64-avx2.exe", # Replace with your Stockfish path"
|
|
|
172 |
|
173 |
# Streamlit app
|
174 |
def main():
|
175 |
+
download_stockfish()
|
176 |
st.title("Chessboard Position Detection and Move Prediction")
|
177 |
|
178 |
# User uploads an image or captures it from their camera
|
|
|
260 |
|
261 |
st.subheader("Generated FEN Notation:")
|
262 |
st.code(fen_notation)
|
263 |
+
|
264 |
# Initialize the Stockfish engine
|
265 |
stockfish = Stockfish(
|
266 |
path="stockfish-windows-x86-64-avx2.exe", # Replace with your Stockfish path"
|