-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add document viewer to dataset explorer (#666)
PR that adds document viewer to data explorer. The viewer attempts to automatically detect the string type and render it to its most appropriate format. Note that the normal string value does not get rendered to a pdf value but rather a normal text/markdown. I don't think it makes a lot of sense to render normal unformated text to pdf. We can still detect whether a strings is a base64 pdf encoded string and render that to it's original pdf format. ![Screenshot from 2023-11-22 17-32-32](https://github.com/ml6team/fondant/assets/47530815/2aa3a163-71dc-4dd2-b1d7-06f5d2d0450c)
- Loading branch information
1 parent
fe7e036
commit f9b4b81
Showing
3 changed files
with
128 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ streamlit-extras==0.3.5 | |
st-pages==0.4.5 | ||
matplotlib==3.7.1 | ||
plotly==5.15.0 | ||
beautifulsoup4==4.12.2 | ||
fpdf==1.7.2 |