Spaces:
Sleeping
Sleeping
Update main.py
Browse files150 unmodified lines1511521531541551561571581 unmodified line160161162163164165166167150 unmodified linesif os.path.exists(NNUE_PATH):try:await engine.configure({"EvalFile": NNUE_PATH})print("[DEBUG] DeepCastle big net loaded successfully.")except Exception as ne:print(f"[ERROR] DeepCastle big net load failed: {str(ne)}")else:1 unmodified lineif os.path.exists(NNUE_SMALL_PATH):try:await engine.configure({"EvalFileSmall": NNUE_SMALL_PATH})print("[DEBUG] DeepCastle small net loaded successfully.")except Exception as ne:print(f"[ERROR] DeepCastle small net load failed: {str(ne)}")else:150 unmodified lines1511521531541551561571581591 unmodified line161162163164165166167168169150 unmodified linesif os.path.exists(NNUE_PATH):try:print(f"[DEBUG] Configuring DeepCastle EvalFile -> {NNUE_PATH}")await engine.configure({"EvalFile": NNUE_PATH})print(f"[DEBUG] DeepCastle big net loaded successfully: {NNUE_PATH}")except Exception as ne:print(f"[ERROR] DeepCastle big net load failed: {str(ne)}")else:1 unmodified lineif os.path.exists(NNUE_SMALL_PATH):try:print(f"[DEBUG] Configuring DeepCastle EvalFileSmall -> {NNUE_SMALL_PATH}")await engine.configure({"EvalFileSmall": NNUE_SMALL_PATH})print(f"[DEBUG] DeepCastle small net loaded successfully: {NNUE_SMALL_PATH}")except Exception as ne:print(f"[ERROR] DeepCastle small net load failed: {str(ne)}")else:
main.py+4-2