Skip to content

Commit

Permalink
fixes for embeddings panel
Browse files Browse the repository at this point in the history
  • Loading branch information
imanjra committed Nov 19, 2024
1 parent 597b32f commit 01ea636
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/packages/embeddings/src/EmbeddingsCTA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { PanelCTA, PanelCTAProps } from "@fiftyone/components";
import ComputeVisualizationButton from "./ComputeVisualizationButton";
import useComputeVisualization from "./useComputeVisualization";

const TRY_LINK = "http://voxel51.com/try-embeddings";

export function Actions(props: ActionsProps) {
const computeViz = useComputeVisualization();
const defaultHandler = () => computeViz.prompt();
Expand All @@ -17,12 +19,14 @@ export default function EmbeddingsCTA(props: EmbeddingsCTAProps) {
demoLabel="Upgrade to FiftyOne Teams to Create Embeddings"
description="You can compute and visualize embeddings for your dataset using a selection of pre-trained models or your own embeddings"
docLink="https://docs.voxel51.com/user_guide/app.html#embeddings-panel"
docCaption="Not ready to upgrade yet? Learn how to create embeddings visualizations via code."
docCaption="Learn how to create embeddings visualizations via code."
demoDocCaption="Not ready to upgrade yet? Learn how to create embeddings visualizations via code."
icon="workspaces"
Actions={Actions}
name="Embeddings"
onBack={onBack}
mode={mode}
tryLink={TRY_LINK}
/>
);
}
Expand Down

0 comments on commit 01ea636

Please sign in to comment.