"examples/pytorch/vscode:/vscode.git/clone" did not exist on "1bc77c5e61583fe2575555296bcaa25242c8c111"
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