"examples/community/checkpoint_merger.py" did not exist on "5177e65ff04eb8295c98d443b4a42ca186ee2a74"
fix(gradio): remove unused imports and simplify pdf display (#534)
Removed the previously used gradio and gradio-pdf imports which were not leveraged in the code. Also, replaced the custom `show_pdf` function with direct use of the `PDF` component from gradio for a simpler and more integrated PDF upload and display solution, improving code maintainability and readability.
Showing
Please register or sign in to comment