Alexandre Gazola commited on
Commit
35318a3
·
1 Parent(s): d8a55ed
Files changed (2) hide show
  1. app.py +1 -1
  2. chess_image_to_fen_tool.py +1 -0
app.py CHANGED
@@ -76,7 +76,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
76
  continue
77
 
78
  #if "chess" not in question_text and
79
- if "Excel" not in question_text:
80
  continue
81
 
82
  try:
 
76
  continue
77
 
78
  #if "chess" not in question_text and
79
+ if "chess" not in question_text:
80
  continue
81
 
82
  try:
chess_image_to_fen_tool.py CHANGED
@@ -25,6 +25,7 @@ def chess_image_to_fen(image_path_in_base64:str, current_player: Literal["black"
25
  if current_player not in ["black", "white"]:
26
  raise ValueError("current_player must be 'black' or 'white'")
27
 
 
28
  base64_image = get_base64(image_path_in_base64)
29
 
30
  if not base64_image:
 
25
  if current_player not in ["black", "white"]:
26
  raise ValueError("current_player must be 'black' or 'white'")
27
 
28
+ print('Reading chess image in base 64: ' + image_path_in_base64)
29
  base64_image = get_base64(image_path_in_base64)
30
 
31
  if not base64_image: