Fix image detection after print-to-logging migration #22
Reference in New Issue
Block a user
Delete Branch "fix/app-image-detection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
app.pyrelied on parsing stdout for"Card generated and saved to: generated_card.png"to find the generated imageprint()withlogger.info(), so stdout no longer contains the path_extract_image_from_stdout()to returnNone, triggering the "Aucune image générée détectée" error--save-pathfile directly (APP_DIR / save_path) instead of parsing stdout; fall back to stdout parsing only if the file isn't foundTest plan
streamlit run app.pyand generate a card — image should now display correctly