diff --git a/ui/src/app/jobs/new/SimpleJob.tsx b/ui/src/app/jobs/new/SimpleJob.tsx index 36e3039..901a36a 100644 --- a/ui/src/app/jobs/new/SimpleJob.tsx +++ b/ui/src/app/jobs/new/SimpleJob.tsx @@ -30,6 +30,7 @@ type Props = { setGpuIDs: (value: string | null) => void; gpuList: any; datasetOptions: any; + isLoading?: boolean; }; const isDev = process.env.NODE_ENV === 'development'; @@ -44,6 +45,7 @@ export default function SimpleJob({ setGpuIDs, gpuList, datasetOptions, + isLoading, }: Props) { const modelArch = useMemo(() => { return modelArchs.find(a => a.name === jobConfig.config.process[0].model.arch) as ModelArch; @@ -146,7 +148,15 @@ export default function SimpleJob({ return ( <> -
+ + {isLoading && ( +
+
+
+ Loading... +
+
+ )}