WARAJA commited on
Commit
5f5b2c0
·
verified ·
1 Parent(s): 47b7125

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -442,7 +442,7 @@ def run_full_pipeline(input_image, bin_model_choice, dialect_choice, casing_choi
442
  # ── Stage 5: Compilation ──
443
  try:
444
  status.append("[5/6] Compilation...")
445
- compiled_python = topy.compile_to_python(bytecode_list)
446
  status.append(" OK")
447
  except Exception as e:
448
  return bin_arr, line_vis, word_vis, raw_text, corrected_text, "", "", f"Compilation failed: {e}\n{traceback.format_exc()}"
 
442
  # ── Stage 5: Compilation ──
443
  try:
444
  status.append("[5/6] Compilation...")
445
+ compiled_python = topy.make_py_file(bytecode_list)
446
  status.append(" OK")
447
  except Exception as e:
448
  return bin_arr, line_vis, word_vis, raw_text, corrected_text, "", "", f"Compilation failed: {e}\n{traceback.format_exc()}"