add-about #7

Open
godber wants to merge 4 commits from add-about into main
6 changed files with 119 additions and 4 deletions
Showing only changes of commit 89dcafd311 - Show all commits

View File

@@ -25,32 +25,23 @@ def create_app():
meta_tags=[
{
"name": "description",
"content": "Interactive embedding visualization tool for exploring high-dimensional vectors through dimensionality reduction techniques like PCA, t-SNE, and UMAP."
},
{
"name": "author",
"content": "EmbeddingBuddy"
"content": "Interactive embedding visualization tool for exploring high-dimensional vectors through dimensionality reduction techniques like PCA, t-SNE, and UMAP.",
},
{"name": "author", "content": "EmbeddingBuddy"},
{
"name": "keywords",
"content": "embeddings, visualization, dimensionality reduction, PCA, t-SNE, UMAP, machine learning, data science"
},
{
"name": "viewport",
"content": "width=device-width, initial-scale=1.0"
"content": "embeddings, visualization, dimensionality reduction, PCA, t-SNE, UMAP, machine learning, data science",
},
{"name": "viewport", "content": "width=device-width, initial-scale=1.0"},
{
"property": "og:title",
"content": "EmbeddingBuddy - Interactive Embedding Visualization"
"content": "EmbeddingBuddy - Interactive Embedding Visualization",
},
{
"property": "og:description",
"content": "Explore and visualize embedding vectors through interactive 2D/3D plots with multiple dimensionality reduction techniques."
"content": "Explore and visualize embedding vectors through interactive 2D/3D plots with multiple dimensionality reduction techniques.",
},
{
"property": "og:type",
"content": "website"
}
{"property": "og:type", "content": "website"},
],
)

View File

@@ -38,20 +38,19 @@ EmbeddingBuddy is a modular Python Dash web application for interactive explorat
dbc.ModalTitle("About EmbeddingBuddy"),
close_button=True,
),
dbc.ModalBody([
dcc.Markdown(
self._get_about_content(),
className="mb-0"
)
]),
dbc.ModalFooter([
dbc.Button(
"Close",
id="about-modal-close",
color="secondary",
n_clicks=0
)
]),
dbc.ModalBody(
[dcc.Markdown(self._get_about_content(), className="mb-0")]
),
dbc.ModalFooter(
[
dbc.Button(
"Close",
id="about-modal-close",
color="secondary",
n_clicks=0,
)
]
),
],
id="about-modal",
is_open=False,
@@ -65,5 +64,5 @@ EmbeddingBuddy is a modular Python Dash web application for interactive explorat
color="outline-info",
size="sm",
n_clicks=0,
className="ms-2"
)
className="ms-2",
)

View File

@@ -24,13 +24,16 @@ class AppLayout:
[
html.Div(
[
html.H1("EmbeddingBuddy", className="text-center mb-4 d-inline"),
html.H1(
"EmbeddingBuddy",
className="text-center mb-4 d-inline",
),
html.Div(
[self.about.create_about_button()],
className="float-end"
className="float-end",
),
],
className="d-flex justify-content-between align-items-center"
className="d-flex justify-content-between align-items-center",
),
# Load Transformers.js from CDN
html.Script(