Update app.py
Browse files
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.
|
| 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()}"
|