Skip to content

Commit

Permalink
Cover case where model is loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoules committed Oct 29, 2024
1 parent 14c817f commit 19b317e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/src/app/RunPanel/CompiledRunPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const CompiledRunPanel: FunctionComponent<CompiledRunPanelProps> = ({
const tooltip = useMemo(() => {
if (handleRun === undefined) return "Data must be validly formatted JSON";
if (runStatus === "sampling") return "Sampling is in progress";
if (runStatus === "loading") return "Model is currently loading";
return "Run sampling";
}, [handleRun, runStatus]);

Expand Down

0 comments on commit 19b317e

Please sign in to comment.