mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
710cbb67fc
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3.5 KiB
3.5 KiB
@gradio/markdown
0.2.0
Features
- #5342
afac0006
- significantly improve the performance ofgr.Dataframe
for large datasets. Thanks @pngwn!
0.1.2
Fixes
- #5304
05892302
- Adds kwarg to disable html sanitization ingr.Chatbot()
. Thanks @dawoodkhan82! - #5393
e4e7a431
- Renders LaTeX that is added to the page ingr.Markdown
,gr.Chatbot
, andgr.DataFrame
. Thanks @abidlabs! - #5394
4d94ea0a
- Adds horizontal scrolling to content that overflows in gr.Markdown. Thanks @abidlabs! - #5368
b27f7583
- Change markdown rendering to set breaks to false. Thanks @abidlabs!
0.1.1
Fixes
0.1.0
Highlights
Improve startup performance and markdown support (#5279 fe057300
)
Improved markdown support
We now have better support for markdown in gr.Markdown
and gr.Dataframe
. Including syntax highlighting and Github Flavoured Markdown. We also have more consistent markdown behaviour and styling.
Various performance improvements
These improvements will be particularly beneficial to large applications.
- Rather than attaching events manually, they are now delegated, leading to a significant performance improvement and addressing a performance regression introduced in a recent version of Gradio. App startup for large applications is now around twice as fast.
- Optimised the mounting of individual components, leading to a modest performance improvement during startup (~30%).
- Corrected an issue that was causing markdown to re-render infinitely.
- Ensured that the
gr.3DModel
does re-render prematurely.
Thanks @pngwn!
Features
- #5268
f49028cf
- Move markdown & latex processing to the frontend for the gr.Markdown and gr.DataFrame components. Thanks @abidlabs! - #5215
fbdad78a
- Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks @pngwn!