Skip to content

Conversation

hcsolakoglu
Copy link

Cleaned up Gradio and Streamlit demos for clearer, more reliable behavior. Layout images and detected element counts now appear only when valid; otherwise demo falls back to original image and shows clear feedback when no layout or invalid JSON is returned. Parser always saves original image and creates layout visualization only if cells are actually detected, avoiding empty output files. Gradio demos now use argparse so users can set port and enable sharing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant